From 007e95ed7a7ce39efc7dbd809f0e955a30ce45a5 Mon Sep 17 00:00:00 2001 From: alextselegidis Date: Fri, 12 Nov 2021 16:57:05 +0100 Subject: [PATCH] Moved the installation and update pages to the new view/pages directory --- application/controllers/Backend.php | 2 +- application/controllers/Installation.php | 2 +- application/views/general/index.html | 10 ---------- .../instance/instance_installation_page.php} | 0 .../instance/instance_update_page.php} | 0 5 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 application/views/general/index.html rename application/views/{general/installation.php => pages/instance/instance_installation_page.php} (100%) rename application/views/{general/update.php => pages/instance/instance_update_page.php} (100%) diff --git a/application/controllers/Backend.php b/application/controllers/Backend.php index 766a37d8..e6b893c1 100755 --- a/application/controllers/Backend.php +++ b/application/controllers/Backend.php @@ -350,6 +350,6 @@ class Backend extends EA_Controller { $view = ['success' => FALSE, 'exception' => $e->getMessage()]; } - $this->load->view('general/update', $view); + $this->load->view('pages/instance/instance_update_page', $view); } } diff --git a/application/controllers/Installation.php b/application/controllers/Installation.php index e7c5e8c7..46c8e81d 100644 --- a/application/controllers/Installation.php +++ b/application/controllers/Installation.php @@ -46,7 +46,7 @@ class Installation extends EA_Controller { return; } - $this->load->view('general/installation', [ + $this->load->view('pages/instance/instance_installation_page', [ 'base_url' => config('base_url') ]); } diff --git a/application/views/general/index.html b/application/views/general/index.html deleted file mode 100644 index 221ac80d..00000000 --- a/application/views/general/index.html +++ /dev/null @@ -1,10 +0,0 @@ - - - 403 Forbidden - - - -

Directory access is forbidden.

- - - diff --git a/application/views/general/installation.php b/application/views/pages/instance/instance_installation_page.php similarity index 100% rename from application/views/general/installation.php rename to application/views/pages/instance/instance_installation_page.php diff --git a/application/views/general/update.php b/application/views/pages/instance/instance_update_page.php similarity index 100% rename from application/views/general/update.php rename to application/views/pages/instance/instance_update_page.php