summaryrefslogtreecommitdiff
path: root/constants.php
diff options
context:
space:
mode:
Diffstat (limited to 'constants.php')
-rw-r--r--constants.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/constants.php b/constants.php
new file mode 100644
index 000000000..05d60b242
--- /dev/null
+++ b/constants.php
@@ -0,0 +1,13 @@
+<?php
+define('FRESHRSS_VERSION', '0.7-dev');
+define('FRESHRSS_WEBSITE', 'http://marienfressinaud.github.io/FreshRSS/');
+
+// Constantes de chemins
+define ('FRESHRSS_PATH', realpath (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 ('LOG_PATH', DATA_PATH . '/log');
+define ('CACHE_PATH', DATA_PATH . '/cache');