aboutsummaryrefslogtreecommitdiff
path: root/constants.php
diff options
context:
space:
mode:
Diffstat (limited to 'constants.php')
-rw-r--r--constants.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/constants.php b/constants.php
new file mode 100644
index 000000000..2eba868b2
--- /dev/null
+++ b/constants.php
@@ -0,0 +1,17 @@
+<?php
+define('FRESHRSS_VERSION', '0.7');
+define('FRESHRSS_WEBSITE', 'http://freshrss.org');
+
+// Constantes de chemins
+define('FRESHRSS_PATH', dirname(__FILE__));
+
+ define('PUBLIC_PATH', FRESHRSS_PATH . '/p');
+ define('INDEX_PATH', PUBLIC_PATH . '/i');
+ define('PUBLIC_RELATIVE', '..');
+
+ 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');