aboutsummaryrefslogtreecommitdiff
path: root/app/class/model.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/model.php')
-rw-r--r--app/class/model.php6
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);
+ }
+
}