From 7ccb591697227fcc77125e6b6fbe33f9fbe13ca4 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sat, 13 Jul 2019 17:10:05 +0200 Subject: icon-path fix --- app/class/model.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/class') 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); + } + } -- cgit v1.2.3