APPPATH/core/MY_Router.php [ 87 ]
82 mysql_close( $link );
83 unset( $link, $db_selected );
84
85 }else if($database['dbdriver'] =='mysqli'){ // for mysqli
86
87 $link = mysqli_connect( $database['hostname'], $database['username'], $database['password'] ,$database['database'] ) or die( 'Can\'t connect to db.' );
88 mysqli_query($link,'SET character_set_results='.$database['char_set'] );
89 mysqli_query($link,'SET character_set_client='.$database['char_set'] );
90 mysqli_query($link,'SET character_set_connection='.$database['char_set'] );
91 $result = mysqli_query( $link,'select * from '.$database['dbprefix'].'modules where module_system_name = \''.$module.'\' and module_enable = 1');
92 if ( mysqli_num_rows($result) <= 0 ) {
-
{PHP internal call} » MY_Exceptions::error_handler()
-
APPPATH/core/MY_Router.php [ 87 ] » mysqli_connect()
82 mysql_close( $link ); 83 unset( $link, $db_selected ); 84 85 }else if($database['dbdriver'] =='mysqli'){ // for mysqli 86 87 $link = mysqli_connect( $database['hostname'], $database['username'], $database['password'] ,$database['database'] ) or die( 'Can\'t connect to db.' ); 88 mysqli_query($link,'SET character_set_results='.$database['char_set'] ); 89 mysqli_query($link,'SET character_set_client='.$database['char_set'] ); 90 mysqli_query($link,'SET character_set_connection='.$database['char_set'] ); 91 $result = mysqli_query( $link,'select * from '.$database['dbprefix'].'modules where module_system_name = \''.$module.'\' and module_enable = 1'); 92 if ( mysqli_num_rows($result) <= 0 ) {
-
APPPATH/third_party/MX/Router.php [ 51 ] » MY_Router->locate()
46 public function _validate_request($segments) { 47 48 if (count($segments) == 0) return $segments; 49 50 /* locate module controller */ 51 if ($located = $this->locate($segments)) return $located; 52 53 /* use a default 404_override controller */ 54 if (isset($this->routes['404_override']) AND $this->routes['404_override']) { 55 $segments = explode('/', $this->routes['404_override']); 56 if ($located = $this->locate($segments)) return $located;
-
FCPATH/system/core/Router.php [ 227 ] » MX_Router->_validate_request()
222 * @param bool 223 * @return void 224 */ 225 function _set_request($segments = array()) 226 { 227 $segments = $this->_validate_request($segments); 228 229 if (count($segments) == 0) 230 { 231 return $this->_set_default_controller(); 232 }
-
FCPATH/system/core/Router.php [ 389 ] » CI_Router->_set_request()
384 if (strpos($val, '$') !== FALSE AND strpos($key, '(') !== FALSE) 385 { 386 $val = preg_replace('#^'.$key.'$#', $val, $uri); 387 } 388 389 return $this->_set_request(explode('/', $val)); 390 } 391 } 392 393 // If we got this far it means we didn't encounter a 394 // matching route so we'll set the site default route
-
FCPATH/system/core/Router.php [ 170 ] » CI_Router->_parse_routes()
165 166 // Compile the segments into an array 167 $this->uri->_explode_segments(); 168 169 // Parse any custom routing that may exist 170 $this->_parse_routes(); 171 172 // Re-index the segment array so that it starts with 1 rather than 0 173 $this->uri->_reindex_segments(); 174 } 175
-
FCPATH/system/core/CodeIgniter.php [ 173 ] » CI_Router->_set_routing()
168 * ------------------------------------------------------ 169 * Instantiate the routing class and set the routing 170 * ------------------------------------------------------ 171 */ 172 $RTR =& load_class('Router', 'core'); 173 $RTR->_set_routing(); 174 175 // Set any routing overrides that may exist in the main index file 176 if (isset($routing)) 177 { 178 $RTR->_set_overrides($routing);
-
FCPATH/index.php [ 217 ] » require_once(arguments)
0
/home/udscoth/domains/uds.co.th/public_html/thiptanaporn/system/core/CodeIgniter.php
212 * 213 * And away we go... 214 * 215 */ 216 217 require_once BASEPATH.'core/CodeIgniter.php'; 218 219 /* End of file index.php */ 220 /* Location: ./index.php */