aboutsummaryrefslogtreecommitdiff
path: root/app/class/Model.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-01-29 20:34:08 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-01-29 20:34:08 +0100
commitb28f1a4a516f93044c632b254670dd21f52e625c (patch)
treeaa2661016383e51fe26d564d208ac302f6e48926 /app/class/Model.php
parenta30e115d62f10183acb7ff946821aaf066d4a61e (diff)
downloadwcms-b28f1a4a516f93044c632b254670dd21f52e625c.tar.gz
wcms-b28f1a4a516f93044c632b254670dd21f52e625c.zip
new feature : colored tags
Diffstat (limited to 'app/class/Model.php')
-rw-r--r--app/class/Model.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Model.php b/app/class/Model.php
index 655de9f..40e3a2e 100644
--- a/app/class/Model.php
+++ b/app/class/Model.php
@@ -139,7 +139,7 @@ abstract class Model
*
* @return bool return true if the dir already exist or was created succesfullt. Otherwise return false
*/
- public function dircheck(string $dir) : bool
+ public static function dircheck(string $dir) : bool
{
if (!is_dir($dir)) {
return mkdir($dir);