APPPATH/third_party/MX/Loader.php [ 109 ]
104
105 require_once BASEPATH.'database/DB'.EXT;
106
107 if ($return === TRUE) return DB($params, $query_builder);
108
109 CI::$APP->db = DB($params, $query_builder);
110
111 return $this;
112 }
113
114 /** Load a module helper **/
-
/home/profiel/system/database/DB_driver.php [ 1697 ] » MY_Exceptions->show_error( arguments )
headingA Database Error Occurred
messageUnable to connect to your database server using the provided settings. / Filename: third_party/MX/Base.php / Line Number: 55
templateerror_db
1692 } 1693 } 1694 } 1695 1696 $error =& load_class('Exceptions', 'core'); 1697 echo $error->show_error($heading, $message, 'error_db'); 1698 exit(8); // EXIT_DATABASE 1699 } 1700 1701 // -------------------------------------------------------------------- 1702 -
/home/profiel/system/database/DB_driver.php [ 436 ] » CI_DB_driver->display_error( arguments )
errorMY_Exceptions Object ( [ob_level] => 0 [levels] => Array ( [1] => Error [2] => Warning [4] => Parsing Error [8] => Notice [16] => Core Error [32] => Core Warning [64] => Compile Error [128] => Compile Warning [256] => User Error [512] => User Warning [1024] => User Notice [2048] => Runtime Notice ) )431 { 432 log_message('error', 'Unable to connect to the database'); 433 434 if ($this->db_debug) 435 { 436 $this->display_error('db_unable_to_connect'); 437 } 438 439 return FALSE; 440 } 441 } -
/home/profiel/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 } -
APPPATH/third_party/MX/Loader.php [ 109 ] » DB( arguments )
paramsArray ( [dsn] => [hostname] => localhost [username] => profiel_webuser [password] => RkDxQ#TtxWZ8 [database] => profiel_system [dbdriver] => mysqli [dbprefix] => [pconnect] => [db_debug] => 1 [cache_on] => [cachedir] => [char_set] => utf8 [dbcollat] => utf8_general_ci [swap_pre] => [autoinit] => 1 [encrypt] => [compress] => [stricton] => [failover] => Array ( ) [save_queries] => 1 )query_builder_override104 105 require_once BASEPATH.'database/DB'.EXT; 106 107 if ($return === TRUE) return DB($params, $query_builder); 108 109 CI::$APP->db = DB($params, $query_builder); 110 111 return $this; 112 } 113 114 /** Load a module helper **/ -
APPPATH/core/MY_Loader.php [ 236 ] » MX_Loader->database( )
231 if (isset($autoload['libraries']) AND count($autoload['libraries']) > 0) 232 { 233 // Load the database driver. 234 if (in_array('database', $autoload['libraries'])) 235 { 236 $this->database(); 237 $autoload['libraries'] = array_diff($autoload['libraries'], array('database')); 238 } 239 240 // Load all other libraries 241 foreach ($autoload['libraries'] as $item) -
APPPATH/core/MY_Loader.php [ 141 ] » MY_Loader->ci_autoloader( arguments )
basepath136 * @param null $basepath 137 * @return void 138 */ 139 function _ci_autoloader($basepath = NULL) 140 { 141 $this->ci_autoloader($basepath); 142 } 143 144 /** 145 * Specific Autoloader (99% ripped from the parent) 146 * -
/home/profiel/system/core/Loader.php [ 157 ] » MY_Loader->_ci_autoloader( )
152 * @used-by CI_Controller::__construct() 153 * @return void 154 */ 155 public function initialize() 156 { 157 $this->_ci_autoloader(); 158 } 159 160 // -------------------------------------------------------------------- 161 162 /** -
APPPATH/third_party/MX/Loader.php [ 65 ] » CI_Loader->initialize( )
60 } 61 } 62 } 63 else 64 { 65 parent::initialize(); 66 67 /* autoload module items */ 68 $this->_autoloader(array()); 69 } 70 -
APPPATH/third_party/AG/Loader.php [ 74 ] » MX_Loader->initialize( )
69 $this->$var =& CI::$APP->load->$var; 70 } 71 } 72 73 }else { 74 parent::initialize(); 75 76 /* autoload module items */ 77 $this->_autoloader(array()); 78 } 79 -
APPPATH/core/MY_Loader.php [ 52 ] » AG_Loader->initialize( arguments )
controller47 * @return Loader 48 */ 49 function initialize($controller = null) 50 { 51 log_message('debug', 'MY Loader Class Initialized'); 52 parent::initialize($controller); 53 54 parent::config('auth', false, false); 55 56 if(!$this->_is_lt_210) 57 { -
/home/profiel/system/core/Controller.php [ 79 ] » MY_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/third_party/MX/Base.php [ 55 ] » CI_Controller->__construct( )
50 51 /* re-assign language and config for modules */ 52 if ( ! $LANG instanceof MX_Lang) $LANG = new MX_Lang; 53 if ( ! $CFG instanceof MX_Config) $CFG = new MX_Config; 54 55 parent::__construct(); 56 } 57 } 58 59 /* create the application object */ 60 new CI; -
APPPATH/third_party/MX/Base.php [ 60 ] » CI->__construct( )
55 parent::__construct(); 56 } 57 } 58 59 /* create the application object */ 60 new CI; -
APPPATH/third_party/MX/Controller.php [ 4 ] » require( arguments )
0/home/profiel/application/third_party/MX/Base.php
1 <?php (defined('BASEPATH')) OR exit('No direct script access allowed'); 2 3 /** load the CI class for Modular Extensions **/ 4 require dirname(__FILE__).'/Base.php'; 5 6 /** 7 * Modular Extensions - HMVC 8 * 9 * Adapted from the CodeIgniter Core Classes -
APPPATH/third_party/MX/Modules.php [ 123 ] » include_once( arguments )
0/home/profiel/application/third_party/MX/Controller.php
118 /* autoload Modular Extensions MX core classes */ 119 if (strstr($class, 'MX_')) 120 { 121 if (is_file($location = dirname(__FILE__).'/'.substr($class, 3).EXT)) 122 { 123 include_once $location; 124 return; 125 } 126 show_error('Failed to load MX core class: '.$class); 127 } 128 -
{PHP internal call} » Modules::autoload( arguments )
classMX_Controller
-
APPPATH/modules/welcome/controllers/Welcome.php [ 3 ] » spl_autoload_call( arguments )
class_nameMX_Controller
1 <?php 2 3 class Welcome extends MX_Controller { 4 5 function index() 6 { 7 if($this->config->item("is_dating")) 8 { -
/home/profiel/system/core/CodeIgniter.php [ 408 ] » require_once( arguments )
0/home/profiel/application/modules/welcome/controllers/Welcome.php
403 { 404 $e404 = TRUE; 405 } 406 else 407 { 408 require_once(APPPATH.'controllers/'.$RTR->directory.$class.'.php'); 409 410 if ( ! class_exists($class, FALSE) OR $method[0] === '_' OR method_exists('CI_Controller', $method)) 411 { 412 $e404 = TRUE; 413 } -
FCPATH/index.php [ 318 ] » require_once( arguments )
0/home/profiel/system/core/CodeIgniter.php
313 * LOAD THE BOOTSTRAP FILE 314 * -------------------------------------------------------------------- 315 * 316 * And away we go... 317 */ 318 require_once BASEPATH.'core/CodeIgniter.php'; 319 320 /* End of file index.php */ 321 /* Location: ./index.php */