aboutsummaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2012-10-28 11:49:21 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2012-10-28 11:49:21 +0100
commit61b87b1474d93fc09984c62b24a2b9d44dc586e2 (patch)
treefb6d627d7eb816df0bc1eb807799a08179278b73 /public/index.php
parent08a01f87f156fb0a89c032a806645291e6fd55dd (diff)
Modif du fichier README + l'application s'appellera désormais FreshRSS
Diffstat (limited to 'public/index.php')
-rwxr-xr-xpublic/index.php12
1 files changed, 6 insertions, 6 deletions
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 ();