diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-07-13 17:10:05 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-07-13 17:10:05 +0200 |
commit | 7ccb591697227fcc77125e6b6fbe33f9fbe13ca4 (patch) | |
tree | 97bd0ffb8d828a93af2a372f5282123cd1039743 /app/class | |
parent | 917e0b8dc3e11a6c14af29a6d546b3e78d4fbedd (diff) | |
download | wcms-7ccb591697227fcc77125e6b6fbe33f9fbe13ca4.tar.gz wcms-7ccb591697227fcc77125e6b6fbe33f9fbe13ca4.zip |
icon-path fix
Diffstat (limited to 'app/class')
-rw-r--r-- | app/class/model.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/class/model.php b/app/class/model.php index 2b222ec..5815861 100644 --- a/app/class/model.php +++ b/app/class/model.php @@ -5,6 +5,7 @@ abstract class Model const CONFIG_FILE = 'config.json'; const CSS_DIR = 'assets' . DIRECTORY_SEPARATOR .'css' . DIRECTORY_SEPARATOR; const JS_DIR = 'assets' . DIRECTORY_SEPARATOR .'js' . DIRECTORY_SEPARATOR; + const ICONS_DIR = 'assets' . DIRECTORY_SEPARATOR .'icons' . DIRECTORY_SEPARATOR; const FONT_DIR = 'fonts' . DIRECTORY_SEPARATOR; const MEDIA_DIR = 'media' . DIRECTORY_SEPARATOR; const FAVICON_DIR = 'media' . DIRECTORY_SEPARATOR . 'favicon' . DIRECTORY_SEPARATOR; @@ -87,4 +88,9 @@ abstract class Model return self::dirtopath(Model::FONT_DIR); } + public static function iconpath() + { + return self::dirtopath(Model::ICONS_DIR); + } + } |