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/271pull/279/head
parent
a532a02363
commit
b8c4afadf4
5 changed files with 14 additions and 15 deletions
@ -0,0 +1,10 @@ |
||||
<?php |
||||
define('FRESHRSS_VERSION', '0.7-dev'); |
||||
define('FRESHRSS_WEBSITE', 'http://marienfressinaud.github.io/FreshRSS/'); |
||||
|
||||
// Constantes de chemins |
||||
define ('PUBLIC_PATH', realpath (dirname (__FILE__) . '/public')); |
||||
define ('LIB_PATH', realpath (dirname (__FILE__) . '/lib')); |
||||
define ('APP_PATH', realpath (dirname (__FILE__) . '/app')); |
||||
define ('LOG_PATH', realpath (dirname (__FILE__) . '/log')); |
||||
define ('CACHE_PATH', realpath (dirname (__FILE__) . '/cache')); |
Loading…
Reference in new issue