diff options
author | Vincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com> | 2020-12-22 12:35:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 12:35:31 +0100 |
commit | f30ec46d410f4c0bf986929e132f8a9efd4d0530 (patch) | |
tree | 9baaa6e940c85e018273a48b410e24c94e32d8fb /app/class/Model.php | |
parent | 8a8aebc3606c9ad7a59c93df90b2e591709bb717 (diff) | |
parent | f6cc150d7052751d5c226ff8050db90d57355ed7 (diff) | |
download | wcms-f30ec46d410f4c0bf986929e132f8a9efd4d0530.tar.gz wcms-f30ec46d410f4c0bf986929e132f8a9efd4d0530.zip |
Merge pull request #130 from n-peugnet/deps
build(deps): fix github ci
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); |