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.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);