CIS4 Entry & View titles

This commit is contained in:
cgfhtw
2023-03-31 14:50:56 +02:00
parent 2a59fad2fc
commit 95458c193c
6 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| Examples: my-controller/index -> my_controller/index
| my-controller/my-method -> my_controller/my_method
*/
$route['default_controller'] = 'Vilesci';
$route['default_controller'] = defined('CIS4') && CIS4 ? 'Cis4' : 'Vilesci';
$route['translate_uri_dashes'] = FALSE;
// Class name conflicts
+1
View File
@@ -1,5 +1,6 @@
<?php
$includesArray = array(
'title' => 'Documents',
'tabulator5' => true,
'customJSModules' => ['public/js/apps/Cis/Documents.js']
);
+1
View File
@@ -1,5 +1,6 @@
<?php
$includesArray = array(
'title' => 'MyLv',
'customJSModules' => ['public/js/apps/Cis/MyLv/Student.js']
);
+1
View File
@@ -1,5 +1,6 @@
<?php
$includesArray = array(
'title' => 'Stundenplan',
'customJSModules' => ['public/js/apps/Cis/Stundenplan.js'],
'customCSSs' => ['public/css/components/calendar.css']
);
+1
View File
@@ -1,5 +1,6 @@
<?php
$includesArray = array(
'title' => 'Dashboard',
'customJSModules' => ['public/js/apps/Dashboard/Fhc.js'],
'customCSSs' => [
'public/css/components/dashboard.css'
+1
View File
@@ -58,6 +58,7 @@
// Loads FHC config files
require_once 'config/global.config.inc.php';
require_once 'config/cis.config.inc.php';
define('CIS4', true);
// Check if the CI_ENVIRONMENT constants is set and eventually use it to set the CI_ENV environment variable
if (defined('CI_ENVIRONMENT')) $_SERVER['CI_ENV'] = CI_ENVIRONMENT;