diff --git a/app/class/Config.php b/app/class/Config.php index ebb7597d..61f4c396 100644 --- a/app/class/Config.php +++ b/app/class/Config.php @@ -2,6 +2,8 @@ namespace Wcms; +use Wcms\Exception\Filesystemexception; + abstract class Config { protected static $pagetable = 'mystore'; diff --git a/app/class/Controlleradmin.php b/app/class/Controlleradmin.php index 436ee27a..92ec97f8 100644 --- a/app/class/Controlleradmin.php +++ b/app/class/Controlleradmin.php @@ -3,6 +3,7 @@ namespace Wcms; use RuntimeException; +use Wcms\Exception\Filesystemexception; class Controlleradmin extends Controller { diff --git a/app/class/Controllerapimedia.php b/app/class/Controllerapimedia.php index cfa30398..4322456a 100644 --- a/app/class/Controllerapimedia.php +++ b/app/class/Controllerapimedia.php @@ -5,6 +5,7 @@ use AltoRouter; use Error; use RuntimeException; +use Wcms\Exception\Filesystemexception; class Controllerapimedia extends Controllerapi { diff --git a/app/class/Controllermedia.php b/app/class/Controllermedia.php index 9e6e8c32..d5cfea2d 100644 --- a/app/class/Controllermedia.php +++ b/app/class/Controllermedia.php @@ -4,6 +4,7 @@ use AltoRouter; use RuntimeException; +use Wcms\Exception\Filesystemexception\Folderexception; use Wcms\Exception\Forbiddenexception; class Controllermedia extends Controller diff --git a/app/class/Controllerpage.php b/app/class/Controllerpage.php index 7b7acdc8..2584f26f 100644 --- a/app/class/Controllerpage.php +++ b/app/class/Controllerpage.php @@ -4,6 +4,7 @@ use DateTimeImmutable; use RuntimeException; +use Wcms\Exception\Filesystemexception; class Controllerpage extends Controller { diff --git a/app/class/Filesystemexception.php b/app/class/Exception/Filesystemexception.php similarity index 76% rename from app/class/Filesystemexception.php rename to app/class/Exception/Filesystemexception.php index f79874c6..6d0e8be9 100644 --- a/app/class/Filesystemexception.php +++ b/app/class/Exception/Filesystemexception.php @@ -1,6 +1,6 @@