aboutsummaryrefslogtreecommitdiff
path: root/w/class/model.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-10-25 20:25:05 +0200
committervincent-peugnet <v.peugnet@free.fr>2018-10-25 20:25:05 +0200
commita91c916248f967da2d4218b575e665242b7c975b (patch)
tree3c767e9b7b62161253aef2d93030f4b38fd47d49 /w/class/model.php
parent7b2e48276b2a3ceff83c906d38077f8d0479c3df (diff)
downloadwcms-a91c916248f967da2d4218b575e665242b7c975b.tar.gz
wcms-a91c916248f967da2d4218b575e665242b7c975b.zip
phoenixreborn\'NWY
Diffstat (limited to 'w/class/model.php')
-rw-r--r--w/class/model.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/w/class/model.php b/w/class/model.php
new file mode 100644
index 0000000..8ff7478
--- /dev/null
+++ b/w/class/model.php
@@ -0,0 +1,17 @@
+<?php
+class Model extends Application
+{
+
+ const CONFIG_FILE = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'w.config.json';
+ const GLOBAL_CSS_DIR = '.' . DIRECTORY_SEPARATOR . 'css' . DIRECTORY_SEPARATOR . 'global' . DIRECTORY_SEPARATOR . 'global.css';
+ const MEDIA_DIR = '.' . DIRECTORY_SEPARATOR . 'media' . DIRECTORY_SEPARATOR;
+ const TEMPLATES_DIR = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'view' . DIRECTORY_SEPARATOR . 'templates';
+ const MEDIA_EXTENSIONS = array('jpeg', 'jpg', 'JPG', 'png', 'gif', 'mp3', 'mp4', 'mov', 'wav', 'flac', 'pdf');
+ const MEDIA_TYPES = ['image', 'video', 'sound', 'other'];
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+
+}