diff --git a/lib/Alchemy/Phrasea/Core.php b/lib/Alchemy/Phrasea/Core.php index f81604266d..38084631f2 100644 --- a/lib/Alchemy/Phrasea/Core.php +++ b/lib/Alchemy/Phrasea/Core.php @@ -365,7 +365,7 @@ class Core extends \Pimple { // require_once __DIR__ . '/../../vendor/symfony/src/Symfony/Component/ClassLoader/UniversalClassLoader.php'; require_once __DIR__ . '/Loader/Autoloader.php'; - + $loader = new Loader\Autoloader(); $loader->registerPrefixes(array('Twig' => realpath(__DIR__ . '/../../vendor/Twig/lib'))); @@ -384,7 +384,7 @@ class Core extends \Pimple 'Doctrine\\Logger' => realpath(__DIR__ . '/../../'), 'Monolog' => realpath(__DIR__ . '/../../vendor/Silex/vendor/monolog/src'), )); - + $loader->register(); require_once __DIR__ . '/../../vendor/Silex/autoload.php'; diff --git a/lib/Alchemy/Phrasea/Loader/ApcAutoloader.php b/lib/Alchemy/Phrasea/Loader/ApcAutoloader.php index 0749885967..0cb32b0147 100644 --- a/lib/Alchemy/Phrasea/Loader/ApcAutoloader.php +++ b/lib/Alchemy/Phrasea/Loader/ApcAutoloader.php @@ -67,4 +67,4 @@ Class ApcAutoloader extends Autoloader implements CacheStrategy spl_autoload_register(array($this, 'loadClass'), true, $prepend); } -} \ No newline at end of file +} diff --git a/lib/Alchemy/Phrasea/Loader/Autoloader.php b/lib/Alchemy/Phrasea/Loader/Autoloader.php index df4967b024..c9977f2432 100644 --- a/lib/Alchemy/Phrasea/Loader/Autoloader.php +++ b/lib/Alchemy/Phrasea/Loader/Autoloader.php @@ -42,4 +42,4 @@ class Autoloader extends UniversalClassLoader return $file; } -} \ No newline at end of file +} diff --git a/lib/Alchemy/Phrasea/Loader/CacheAutoloader.php b/lib/Alchemy/Phrasea/Loader/CacheAutoloader.php index fc44f70b5c..2103b40d68 100644 --- a/lib/Alchemy/Phrasea/Loader/CacheAutoloader.php +++ b/lib/Alchemy/Phrasea/Loader/CacheAutoloader.php @@ -55,4 +55,4 @@ class CacheAutoloader extends Autoloader $this->cache->register($prepend); } -} \ No newline at end of file +} diff --git a/lib/Alchemy/Phrasea/Loader/LoaderStrategy.php b/lib/Alchemy/Phrasea/Loader/LoaderStrategy.php index c649389ac7..4062ba0bf3 100644 --- a/lib/Alchemy/Phrasea/Loader/LoaderStrategy.php +++ b/lib/Alchemy/Phrasea/Loader/LoaderStrategy.php @@ -19,6 +19,6 @@ namespace Alchemy\Phrasea\Loader; interface LoaderStrategy { public function isAvailable(); - + public function register(); -} \ No newline at end of file +} diff --git a/lib/Alchemy/Phrasea/Loader/XcacheAutoloader.php b/lib/Alchemy/Phrasea/Loader/XcacheAutoloader.php index cfcd1525ac..1a688bb356 100644 --- a/lib/Alchemy/Phrasea/Loader/XcacheAutoloader.php +++ b/lib/Alchemy/Phrasea/Loader/XcacheAutoloader.php @@ -66,4 +66,4 @@ Class XcacheAutoloader extends Autoloader implements CacheStrategy spl_autoload_register(array($this, 'loadClass'), true, $prepend); } -} \ No newline at end of file +} diff --git a/lib/classes/bootstrap.class.php b/lib/classes/bootstrap.class.php index 525cd9234d..9946c83eab 100644 --- a/lib/classes/bootstrap.class.php +++ b/lib/classes/bootstrap.class.php @@ -39,15 +39,15 @@ class bootstrap { return static::$core; } - + static::$core = new Core($env); - + if (\setup::is_installed()) { $gatekeeper = \gatekeeper::getInstance(); $gatekeeper->check_directory(); } - + return static::$core; } diff --git a/templates/web/login/index.twig b/templates/web/login/index.twig index 7e7518d6a6..c8791b4e72 100644 --- a/templates/web/login/index.twig +++ b/templates/web/login/index.twig @@ -159,8 +159,8 @@
- {% trans 'phraseanet:: language' %} - + {% trans 'phraseanet:: language' %} + - + | © Copyright Alchemy 2005-2010 |