diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-01-29 13:39:28 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-01-29 13:39:28 +0100 |
commit | 5e1ca86211da0439003303cf3e0741edf31bced4 (patch) | |
tree | 99fb2548f6eab18b510c9e5850af2459b05d1401 /app/class/model.php | |
parent | bd2ddfda3a922766ea2165963f2b2386066deeb2 (diff) | |
download | wcms-5e1ca86211da0439003303cf3e0741edf31bced4.tar.gz wcms-5e1ca86211da0439003303cf3e0741edf31bced4.zip |
home redirect
Diffstat (limited to 'app/class/model.php')
-rw-r--r-- | app/class/model.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/class/model.php b/app/class/model.php index 779fb46..c8f251f 100644 --- a/app/class/model.php +++ b/app/class/model.php @@ -30,6 +30,9 @@ abstract class Model const RENDER_CLASS_ORIGIN = false; const RENDER_EMPTY_ELEMENT = false; + /** CONFIG OPTIONS */ + const HOMEPAGE = ['default', 'search', 'redirect']; + public static function dirtopath($dir) { $basepath = ''; |