aboutsummaryrefslogtreecommitdiff
path: root/w/class/model.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-10-28 19:56:27 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-10-28 19:56:27 +0100
commite17392e46259e6f2e012017987cf7c31c171488f (patch)
tree72b61b63e32819e81433e8df6f14dc92b0e3a604 /w/class/model.php
parenta91c916248f967da2d4218b575e665242b7c975b (diff)
downloadwcms-e17392e46259e6f2e012017987cf7c31c171488f.tar.gz
wcms-e17392e46259e6f2e012017987cf7c31c171488f.zip
abstract config NWY
Diffstat (limited to 'w/class/model.php')
-rw-r--r--w/class/model.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/w/class/model.php b/w/class/model.php
index 8ff7478..0eb3a2f 100644
--- a/w/class/model.php
+++ b/w/class/model.php
@@ -1,5 +1,5 @@
<?php
-class Model extends Application
+class Model
{
const CONFIG_FILE = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'w.config.json';
@@ -9,9 +9,8 @@ class Model extends Application
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();
- }
+ const TEXT_ELEMENTS = ['section', 'header', 'nav', 'aside', 'footer'];
+
}