diff options
author | n-peugnet <n.peugnet@free.fr> | 2020-12-19 19:52:59 +0100 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2020-12-19 19:52:59 +0100 |
commit | d2bbcab233dabe3b04f8c3b94a947ec174540418 (patch) | |
tree | 8ed06c1b412cc20f899686738a49bef6b1ead7d8 /app/class/Model.php | |
parent | 9338d030f38b465be5f6307f5ee6f2e20d904856 (diff) | |
download | wcms-d2bbcab233dabe3b04f8c3b94a947ec174540418.tar.gz wcms-d2bbcab233dabe3b04f8c3b94a947ec174540418.zip |
run phpcbf and add fix target to Makefile
Diffstat (limited to 'app/class/Model.php')
-rw-r--r-- | app/class/Model.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/class/Model.php b/app/class/Model.php index e3b0c17..2a9e788 100644 --- a/app/class/Model.php +++ b/app/class/Model.php @@ -40,8 +40,8 @@ abstract class Model 'grid' => 'grid', 'random' => 'random', ]; - - + + public const MEDIA_EXT = [ 'jpg' => 'image', 'jpeg' => 'image', @@ -153,7 +153,7 @@ abstract class Model { return self::dirtopath(Model::RENDER_DIR); } - + public static function csspath() { return self::dirtopath(Model::CSS_DIR); |