diff options
Diffstat (limited to 'app/class/model.php')
-rw-r--r-- | app/class/model.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/class/model.php b/app/class/model.php new file mode 100644 index 0000000..d037aba --- /dev/null +++ b/app/class/model.php @@ -0,0 +1,17 @@ +<?php +class Model +{ + + 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 RENDER_DIR = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '/w_render/'; + const MEDIA_EXTENSIONS = array('jpeg', 'jpg', 'JPG', 'png', 'gif', 'mp3', 'mp4', 'mov', 'wav', 'flac', 'pdf'); + const MEDIA_TYPES = ['image', 'video', 'sound', 'other']; + + const TEXT_ELEMENTS = ['header', 'nav', 'section', 'aside', 'footer']; + + + +} |