From 61b87b1474d93fc09984c62b24a2b9d44dc586e2 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Sun, 28 Oct 2012 11:49:21 +0100 Subject: Modif du fichier README + l'application s'appellera désormais FreshRSS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'public/index.php') diff --git a/public/index.php b/public/index.php index 8d7dc4ae4..91146dc14 100755 --- a/public/index.php +++ b/public/index.php @@ -19,11 +19,11 @@ # ***** END LICENSE BLOCK ***** // Constantes de chemins -define ('PUBLIC_PATH', realpath (dirname(__FILE__))); -define ('LIB_PATH', realpath (PUBLIC_PATH.'/../lib')); -define ('APP_PATH', realpath (PUBLIC_PATH.'/../app')); -define ('LOG_PATH', realpath (PUBLIC_PATH.'/../log')); -define ('CACHE_PATH', realpath (PUBLIC_PATH.'/../cache')); +define ('PUBLIC_PATH', realpath (dirname (__FILE__))); +define ('LIB_PATH', realpath (PUBLIC_PATH . '/../lib')); +define ('APP_PATH', realpath (PUBLIC_PATH . '/../app')); +define ('LOG_PATH', realpath (PUBLIC_PATH . '/../log')); +define ('CACHE_PATH', realpath (PUBLIC_PATH . '/../cache')); set_include_path (get_include_path () . PATH_SEPARATOR @@ -31,7 +31,7 @@ set_include_path (get_include_path () . PATH_SEPARATOR . APP_PATH); -require_once(APP_PATH.'/App_FrontController.php'); +require (APP_PATH . '/App_FrontController.php'); $front_controller = new App_FrontController (); $front_controller->init (); -- cgit v1.2.3