diff --git a/_admin.php b/_admin.php index 6e76871..4244082 100644 --- a/_admin.php +++ b/_admin.php @@ -24,7 +24,7 @@ use dcCore; use dcFavorites; use dcPage; -class admin +class Admin { public static function init() { @@ -53,5 +53,5 @@ class admin } } -admin::init(); -admin::process(); +Admin::init(); +Admin::process(); diff --git a/_config.php b/_config.php index 41f0b69..f9225b0 100644 --- a/_config.php +++ b/_config.php @@ -30,7 +30,7 @@ use path; /* php ns */ use Exception; -class config +class Config { public static function init(): void { @@ -149,6 +149,6 @@ class config } } -config::init(); -config::process(); -config::render(); +Config::init(); +Config::process(); +Config::render(); diff --git a/_install.php b/_install.php index 3444674..7489e24 100644 --- a/_install.php +++ b/_install.php @@ -24,7 +24,7 @@ use dcCore; /* php ns */ use Exception; -class install +class Install { # -- Module specs -- private static $mod_conf = [ @@ -106,4 +106,4 @@ class install } } -return install::process(); +return Install::process(); diff --git a/index.php b/index.php index 50ff1d4..062b0f7 100644 --- a/index.php +++ b/index.php @@ -31,7 +31,7 @@ use path; /* php ns */ use Exception; -class index +class Index { private static $plugins_path = ''; private static $themes_path = ''; @@ -344,6 +344,6 @@ class index } } -index::init(); -index::process(); -index::render(); +Index::init(); +Index::process(); +Index::render();