198 isset($ssl['cipher']) ? $ssl['cipher'] : NULL
199 );
200 }
201 }
202
203 if ($this->_mysqli->real_connect($hostname, $this->username, $this->password, $this->database, $port, $socket, $client_flags))
204 {
205 // Prior to version 5.7.3, MySQL silently downgrades to an unencrypted connection if SSL setup fails
206 if (
207 ($client_flags & MYSQLI_CLIENT_SSL)
208 && version_compare($this->_mysqli->client_info, '5.7.3', '<=')
-
FCPATH/system/database/drivers/mysqli/mysqli_driver.php [ 203 ] » mysqli->real_connect()
198 isset($ssl['cipher']) ? $ssl['cipher'] : NULL 199 ); 200 } 201 } 202 203 if ($this->_mysqli->real_connect($hostname, $this->username, $this->password, $this->database, $port, $socket, $client_flags)) 204 { 205 // Prior to version 5.7.3, MySQL silently downgrades to an unencrypted connection if SSL setup fails 206 if ( 207 ($client_flags & MYSQLI_CLIENT_SSL) 208 && version_compare($this->_mysqli->client_info, '5.7.3', '<=') -
FCPATH/system/database/DB_driver.php [ 401 ] » CI_DB_mysqli_driver->db_connect()
396 } 397 398 // ---------------------------------------------------------------- 399 400 // Connect to the database and set the connection ID 401 $this->conn_id = $this->db_connect($this->pconnect); 402 403 // No connection resource? Check if there is a failover else throw an error 404 if ( ! $this->conn_id) 405 { 406 // Check if there is a failover set -
FCPATH/system/database/DB.php [ 216 ] » CI_DB_driver->initialize()
211 $driver = 'CI_DB_'.$DB->dbdriver.'_'.$DB->subdriver.'_driver'; 212 $DB = new $driver($params); 213 } 214 } 215 216 $DB->initialize(); 217 return $DB; 218 } -
FCPATH/system/core/Controller.php [ 79 ] » CI_Loader->initialize()
74 { 75 $this->$var =& load_class($class); 76 } 77 78 $this->load =& load_class('Loader', 'core'); 79 $this->load->initialize(); 80 log_message('info', 'Controller Class Initialized'); 81 } 82 83 // -------------------------------------------------------------------- 84 -
APPPATH/core/MY_Controller.php [ 62 ] » CI_Controller->__construct()
57 58 function __construct() { 59 # Load the emitter before anything else so models can hook up event listeners on construct. 60 $this->emitter = new \League\Event\Emitter(); 61 62 parent::__construct(); 63 64 # Enforce MySQL strict mode. 65 $this->db->query('SET SESSION sql_mode="TRADITIONAL"'); 66 67 # Enforce long group concat lengths. -
APPPATH/libraries/AbstractPublicController.php [ 10 ] » MY_Controller->__construct()
5 abstract class AbstractPublicController extends MY_Controller 6 { 7 8 function __construct() 9 { 10 parent::__construct(); 11 12 $this->set_layout("frontend"); 13 } 14 15 function not_found($page_slug = null, $data = []) -
APPPATH/controllers/Main_controller.php [ 10 ] » AbstractPublicController->__construct()
5 class Main_controller extends AbstractPublicController 6 { 7 8 function __construct() 9 { 10 parent::__construct(); 11 12 $this->set_layout("frontend"); 13 } 14 15 function worker_monitor()