From 0c5144d48e8161de0fee5845adeb51bc52ff47c6 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 25 Dec 2010 23:52:56 +0100 Subject: [PATCH] small cosmetics --- backend/index.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/backend/index.php b/backend/index.php index b421caf..b3f1454 100644 --- a/backend/index.php +++ b/backend/index.php @@ -40,9 +40,10 @@ define('VZ_BACKEND_DIR', VZ_DIR . '/backend'); // class autoloading require VZ_BACKEND_DIR . '/lib/Util/ClassLoader.php'; -$classLoaders = array(); -$classLoaders[] = new Util\ClassLoader('Volkszaehler', VZ_BACKEND_DIR . '/lib'); -$classLoaders[] = new Util\ClassLoader('Doctrine', VZ_BACKEND_DIR . '/lib/vendor/Doctrine'); +$classLoaders = array( + new Util\ClassLoader('Volkszaehler', VZ_BACKEND_DIR . '/lib'), + new Util\ClassLoader('Doctrine', VZ_BACKEND_DIR . '/lib/vendor/Doctrine') +); foreach ($classLoaders as $loader) { $loader->register(); // register on SPL autoload stack @@ -54,4 +55,4 @@ $r = new Router(); $r->run(); $r->view->send(); -?> \ No newline at end of file +?>