diff options
Diffstat (limited to 'w/class/model.php')
-rw-r--r-- | w/class/model.php | 7 |
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']; + } |