use autoloader

This commit is contained in:
Christian Weiske 2012-02-16 19:35:04 +01:00
parent 90ba326f85
commit 635be284de
2 changed files with 5 additions and 9 deletions

View File

@ -96,16 +96,12 @@ if (DEBUG_MODE) {
error_reporting(0);
}
// 2 // Second requirements part which could display bugs
// (must come after debug management)
require_once 'SemanticScuttle/Exception.php';
require_once 'SemanticScuttle/Service.php';
require_once 'SemanticScuttle/DbService.php';
require_once 'SemanticScuttle/Service/Factory.php';
require_once 'silex.phar';
//modify silex/symfony autoloader
$loader->useIncludePath(true);
require_once 'SemanticScuttle/functions.php';
require_once 'SemanticScuttle/Model/Bookmark.php';
require_once 'SemanticScuttle/Model/UserArray.php';
require_once 'SemanticScuttle/Model/User/SslClientCert.php';
if (count($GLOBALS['serviceoverrides']) > 0
&& !defined('UNIT_TEST_MODE')

BIN
src/silex.phar Normal file

Binary file not shown.