From 379926ccf5a7c5f1dcba4fea2355a78b51c6330c Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Tue, 28 Feb 2012 13:55:24 +0100 Subject: [PATCH] Remove unused Autoload --- www/admin/router.php | 3 +-- www/include/overview.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/www/admin/router.php b/www/admin/router.php index d6cd34e2a3..9e019e4b69 100644 --- a/www/admin/router.php +++ b/www/admin/router.php @@ -15,8 +15,7 @@ * @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @link www.phraseanet.com */ -require_once __DIR__ . "/../../lib/bootstrap.php"; -bootstrap::register_autoloads(); +$Core = require_once __DIR__ . "/../../lib/bootstrap.php"; $request = http_request::getInstance(); $parm = $request->get_parms('session'); diff --git a/www/include/overview.php b/www/include/overview.php index 591cc3bccc..9a76b62ff1 100644 --- a/www/include/overview.php +++ b/www/include/overview.php @@ -15,8 +15,7 @@ * @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @link www.phraseanet.com */ -require_once __DIR__ . "/../../lib/bootstrap.php"; -bootstrap::register_autoloads(); +$Core = require_once __DIR__ . "/../../lib/bootstrap.php"; $app = require __DIR__ .'/../../lib/Alchemy/Phrasea/Application/Overview.php';