Moved the app related config in a new app.php config file

This commit is contained in:
Alex Tselegidis 2021-11-06 16:52:46 +01:00
parent a20f2e9e33
commit 3e1381c302
3 changed files with 20 additions and 15 deletions

View file

@ -0,0 +1,16 @@
<?php defined('BASEPATH') or exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| App Configuration
|--------------------------------------------------------------------------
|
| Declare some of the global config values of Easy!Appointments.
|
*/
$config['version'] = '1.4.2'; // This must be changed manually.
$config['release_label'] = ''; // Leave empty for no title or add Alpha, Beta etc ...
$config['debug'] = Config::DEBUG_MODE;

View file

@ -102,6 +102,7 @@ $autoload['helper'] = [
*/ */
$autoload['config'] = [ $autoload['config'] = [
'app',
'google', 'google',
'email' 'email'
]; ];

View file

@ -1,17 +1,5 @@
<?php defined('BASEPATH') or exit('No direct script access allowed'); <?php defined('BASEPATH') or exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Easy!Appointments - Internal Configuration
|--------------------------------------------------------------------------
|
| Declare some of the global config values of Easy!Appointments.
|
*/
$config['version'] = '1.4.2'; // This must be changed manually.
$config['release_label'] = ''; // Leave empty for no title or add Alpha, Beta etc ...
$config['debug'] = Config::DEBUG_MODE;
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Base Site URL | Base Site URL
@ -364,9 +352,9 @@ $config['sess_regenerate_destroy'] = FALSE;
| 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists. | 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists.
| |
*/ */
$config['cookie_prefix'] = ""; $config['cookie_prefix'] = '';
$config['cookie_domain'] = ""; $config['cookie_domain'] = '';
$config['cookie_path'] = "/"; $config['cookie_path'] = '/';
$config['cookie_secure'] = FALSE; $config['cookie_secure'] = FALSE;
/* /*