diff options
| author | 2013-11-17 01:35:06 +0100 | |
|---|---|---|
| committer | 2013-11-17 01:35:06 +0100 | |
| commit | b8c4afadf4bff7ac282ac5933eedccb1c666d873 (patch) | |
| tree | aef58395f1aecf027532fdc579b73084edfb8aa8 /actualize_script.php | |
| parent | a532a023633ac692bd573d4ec29b7871e8e4c19f (diff) | |
Nouveau fichier constants.php
En particulier pour stocker le numéro de version de FreshRSS utilisé
entre autres par https://github.com/marienfressinaud/FreshRSS/issues/174
et centraliser les constantes de chemins
Implémente https://github.com/marienfressinaud/FreshRSS/issues/271
Diffstat (limited to 'actualize_script.php')
| -rwxr-xr-x | actualize_script.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/actualize_script.php b/actualize_script.php index 45b2938cb..65f9360a0 100755 --- a/actualize_script.php +++ b/actualize_script.php @@ -1,11 +1,5 @@ <?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'; |
