diff options
| author | 2013-12-23 13:22:50 +0100 | |
|---|---|---|
| committer | 2013-12-23 13:22:50 +0100 | |
| commit | 24d9d1628d673f68fa0cc7b98a3ef9a8d021b070 (patch) | |
| tree | 2d794dc100d707e53b82a2de7d84b3d13103e461 /actualize_script.php | |
| parent | 75096e6a39fe5d34d3951991f296f616e62a9fd8 (diff) | |
| parent | 9e46c1ee7fc7f9ad9e2c07f0cf826573dd4c9766 (diff) | |
Fusion 0.7-dev
Diffstat (limited to 'actualize_script.php')
| -rwxr-xr-x | actualize_script.php | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/actualize_script.php b/actualize_script.php index 45b2938cb..7986ba0b5 100755 --- a/actualize_script.php +++ b/actualize_script.php @@ -1,29 +1,15 @@ <?php - -// Constantes de chemins -define ('PUBLIC_PATH', realpath (dirname (__FILE__) . '/public')); -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')); +require('constants.php'); $_GET['c'] = 'feed'; $_GET['a'] = 'actualize'; $_GET['force'] = true; $_SERVER['HTTP_HOST'] = ''; -set_include_path (get_include_path () - . PATH_SEPARATOR - . LIB_PATH - . PATH_SEPARATOR - . LIB_PATH . '/minz' - . PATH_SEPARATOR - . APP_PATH); - -require (APP_PATH . '/App_FrontController.php'); +require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader -$front_controller = new App_FrontController (); +$front_controller = new FreshRSS (); $front_controller->init (); -Session::_param('mail', true); // permet de se passer de la phase de connexion +Minz_Session::_param('mail', true); // permet de se passer de la phase de connexion $front_controller->run (); -touch(PUBLIC_PATH . '/data/touch.txt'); +invalidateHttpCache(); |
