From 58300c36ad77e8d788e99825d509fe8657a36854 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 26 Dec 2013 01:56:58 +0100 Subject: Cookie : sous-répertoire pour index (changements de répertoires !) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implémente https://github.com/marienfressinaud/FreshRSS/issues/333 /public/ est renommé /p/ /public/index.php est déplacé dans /p/i/index.php Le cookie de session est limité à /p/i/ --- constants.php | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'constants.php') diff --git a/constants.php b/constants.php index c22209efe..0c7adc57e 100644 --- a/constants.php +++ b/constants.php @@ -3,12 +3,15 @@ define('FRESHRSS_VERSION', '0.7-beta3'); define('FRESHRSS_WEBSITE', 'http://freshrss.org'); // Constantes de chemins -define ('FRESHRSS_PATH', dirname(__FILE__)); +define('FRESHRSS_PATH', dirname(__FILE__)); -define ('PUBLIC_PATH', FRESHRSS_PATH . '/public'); -define ('DATA_PATH', FRESHRSS_PATH . '/data'); -define ('LIB_PATH', FRESHRSS_PATH . '/lib'); -define ('APP_PATH', FRESHRSS_PATH . '/app'); + define('PUBLIC_PATH', FRESHRSS_PATH . '/p'); + define('INDEX_PATH', PUBLIC_PATH . '/i'); + define('PUBLIC_RELATIVE', '..'); -define ('LOG_PATH', DATA_PATH . '/log'); -define ('CACHE_PATH', DATA_PATH . '/cache'); + define('DATA_PATH', FRESHRSS_PATH . '/data'); + define('LOG_PATH', DATA_PATH . '/log'); + define('CACHE_PATH', DATA_PATH . '/cache'); + + define('LIB_PATH', FRESHRSS_PATH . '/lib'); + define('APP_PATH', FRESHRSS_PATH . '/app'); -- cgit v1.2.3