Commit 5c3dceb5 by Jansa Jose

base URL with https

parent d9c9bb6b
...@@ -27,8 +27,8 @@ defined('BASEPATH') OR exit('No direct script access allowed'); ...@@ -27,8 +27,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$config['base_pic_url'] = "https://".$_SERVER['HTTP_HOST'].'/ipok'; $config['base_pic_url'] = "https://".$_SERVER['HTTP_HOST'].'/ipok';
*/ */
$config['base_url'] = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']); $config['base_url'] = "https://".$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']);
$config['base_pic_url'] = "http://".$_SERVER['HTTP_HOST'].'/ipok'; $config['base_pic_url'] = "https://".$_SERVER['HTTP_HOST'].'/ipok';
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Index File | Index File
......
...@@ -88,10 +88,10 @@ $query_builder = TRUE; ...@@ -88,10 +88,10 @@ $query_builder = TRUE;
$db['default'] = array( $db['default'] = array(
'dsn' => '', 'dsn' => '',
'hostname' => '192.168.140.123', 'hostname' => 'localhost',
'username' => 'root', 'username' => 'techlabz_Ipok',
'password' => '', 'password' => 'Golden_123',
'database' => 'reeba_ipok', 'database' => 'techlabz_Ipok',
'dbdriver' => 'mysqli', 'dbdriver' => 'mysqli',
'dbprefix' => '', 'dbprefix' => '',
'pconnect' => FALSE, 'pconnect' => FALSE,
......
...@@ -23,7 +23,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); ...@@ -23,7 +23,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| a PHP script and you can easily do that on your own. | a PHP script and you can easily do that on your own.
| |
*/ */
$config['base_url'] = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']); $config['base_url'] = "https://".$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']);
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
......
...@@ -88,10 +88,10 @@ $query_builder = TRUE; ...@@ -88,10 +88,10 @@ $query_builder = TRUE;
$db['default'] = array( $db['default'] = array(
'dsn' => '', 'dsn' => '',
'hostname' => '192.168.140.123', 'hostname' => 'localhost',
'username' => 'root', 'username' => 'techlabz_Ipok',
'password' => '', 'password' => 'Golden_123',
'database' => 'reeba_ipok', 'database' => 'techlabz_Ipok',
'dbdriver' => 'mysqli', 'dbdriver' => 'mysqli',
'dbprefix' => '', 'dbprefix' => '',
'pconnect' => FALSE, 'pconnect' => FALSE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment