This commit is contained in:
root
2012-09-24 10:32:34 +10:00
parent 9a98427138
commit 9e4a5f2cb0
81 changed files with 10309 additions and 0 deletions

16
app/autoload.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
use Doctrine\Common\Annotations\AnnotationRegistry;
$loader = require __DIR__.'/../vendor/autoload.php';
// intl
if (!function_exists('intl_get_error_code')) {
require_once __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php';
$loader->add('', __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs');
}
AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
return $loader;