From 3e4703408b7e0a6fb31bb0fa97bae2264cdde5e4 Mon Sep 17 00:00:00 2001 From: cgfhtw Date: Mon, 10 Jul 2023 08:42:48 +0200 Subject: [PATCH] directories from variables --- cis.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cis.php b/cis.php index 76f23d043..276af93f1 100644 --- a/cis.php +++ b/cis.php @@ -192,6 +192,7 @@ switch (ENVIRONMENT) */ // $assign_to_config['name_of_config_item'] = 'value of config item'; $assign_to_config['index_page'] = 'cis.php'; +$assign_to_config['base_url'] = APP_ROOT; @@ -312,7 +313,7 @@ $assign_to_config['index_page'] = 'cis.php'; include_once 'vendor/autoload.php'; // Autoload custom controllers, models, etc that are present in the application/core directory -require_once 'application/config/core_includes.php'; +require_once $application_folder . 'config/core_includes.php'; // Now the bootstrap file -require_once BASEPATH.'core/CodeIgniter.php'; +require_once BASEPATH . 'core/CodeIgniter.php';