directories from variables

This commit is contained in:
cgfhtw
2023-07-10 08:42:48 +02:00
parent 4f43b79ed5
commit 3e4703408b
+3 -2
View File
@@ -192,6 +192,7 @@ switch (ENVIRONMENT)
*/ */
// $assign_to_config['name_of_config_item'] = 'value of config item'; // $assign_to_config['name_of_config_item'] = 'value of config item';
$assign_to_config['index_page'] = 'cis.php'; $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'; include_once 'vendor/autoload.php';
// Autoload custom controllers, models, etc that are present in the application/core directory // 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 // Now the bootstrap file
require_once BASEPATH.'core/CodeIgniter.php'; require_once BASEPATH . 'core/CodeIgniter.php';