From 0d7f4b830c3949f49b694bc625cce8c19a631db9 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 17 Dec 2022 22:21:01 +0100 Subject: [PATCH] use same class case everywhere --- _admin.php | 6 +++--- _config.php | 8 ++++---- _install.php | 4 ++-- index.php | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) 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();