Merge branch 'master' of https://git.smk-almuhtadin.com/atuy/web-sekolah
This commit is contained in:
@@ -24,9 +24,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
//$config['base_url'] = 'http://localhost/ppdbmtd/';
|
//$config['base_url'] = 'http://localhost/ppdbmtd/';
|
||||||
$config['base_url'] = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "https" : "http");
|
$config['base_url'] = 'https://ppdb.smk-almuhtadin.com/';
|
||||||
$config['base_url'] .= "://" . $_SERVER['HTTP_HOST'];
|
//$config['base_url'] .= "://" . $_SERVER['HTTP_HOST'];
|
||||||
$config['base_url'] .= str_replace(basename($_SERVER['SCRIPT_NAME']), "", $_SERVER['SCRIPT_NAME']);
|
//$config['base_url'] .= str_replace(basename($_SERVER['SCRIPT_NAME']), "", $_SERVER['SCRIPT_NAME']);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@@ -381,7 +381,7 @@ $config['encryption_key'] = '';
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['sess_driver'] = 'files';
|
$config['sess_driver'] = 'files';
|
||||||
$config['sess_cookie_name'] = 'ci_session';
|
$config['sess_cookie_name'] = 'ppdb_session_mtd';
|
||||||
$config['sess_expiration'] = 7200;
|
$config['sess_expiration'] = 7200;
|
||||||
$config['sess_save_path'] = NULL;
|
$config['sess_save_path'] = NULL;
|
||||||
$config['sess_match_ip'] = FALSE;
|
$config['sess_match_ip'] = FALSE;
|
||||||
|
|||||||
@@ -75,10 +75,10 @@ $query_builder = TRUE;
|
|||||||
|
|
||||||
$db['default'] = array(
|
$db['default'] = array(
|
||||||
'dsn' => '',
|
'dsn' => '',
|
||||||
'hostname' => 'localhost',
|
'hostname' => '172.20.10.5',
|
||||||
'username' => 'root',
|
'username' => 'root',
|
||||||
'password' => 'MTd$4kT!m@ndRA',
|
'password' => 'apaansikocak2121',
|
||||||
'database' => 'db_ppdbmtd2627',
|
'database' => 'db_ppdb',
|
||||||
'dbdriver' => 'mysqli',
|
'dbdriver' => 'mysqli',
|
||||||
'dbprefix' => '',
|
'dbprefix' => '',
|
||||||
'pconnect' => FALSE,
|
'pconnect' => FALSE,
|
||||||
|
|||||||
Reference in New Issue
Block a user