#0 - File: /plugins/pdoquery/PDOQuery.class.php, line 266
264: $port = isset($opts["port"]) ? $opts["port"] : ini_get("mysqli.default_port");
265: $socket = isset($opts["socket"]) ? $opts["socket"] : ini_get("mysqli.default_socket");
266: self::$db = @new mysqli($host, $username, $password, $dbname, $port, $socket);
267: if (self::$db -> connect_errno == 0) {
268: self::$connected = true;
#1 - Function: phej_exception_error_handler
No source code available
#2 - File: /plugins/pdoquery/PDOQuery.class.php, line 266
264: $port = isset($opts["port"]) ? $opts["port"] : ini_get("mysqli.default_port");
265: $socket = isset($opts["socket"]) ? $opts["socket"] : ini_get("mysqli.default_socket");
266: self::$db = @new mysqli($host, $username, $password, $dbname, $port, $socket);
267: if (self::$db -> connect_errno == 0) {
268: self::$connected = true;
#3 - File: /plugins/pdoquery/pdoquery_plugin.php, line 35
33: $password = $phej -> getPluginOption("pdoquery", "password");
34: $database = $phej -> getPluginOption("pdoquery", "database");
35: return PQ() -> connect($engine.':dbname='.$database.';host='.$hostname, $username, $password);
36: }
37:
#4 - File: /plugins/pdoquery/pdoquery_plugin.php, line 26
24: // plugin functions
25: function pdoquery_preload_hook(Phej &$phej) {
26: if ($phej -> getPluginOption("pdoquery", "autoconnect")) pdoquery_connect($phej);
27: }
28:
#5 - Function: pdoquery_preload_hook
No source code available
#6 - File: /Phej.php, line 434
432: $this -> log(Phej::LOG_VERBOSE, __FILE__, __LINE__, 'Triggering "'.$type.'" hook "'.$function.'" for plugin "'.$plugin.'"');
433: $this -> pluginHooksDone[$type][$plugin][] = $function;
434: if (($result = call_user_func_array($function, $args)) === false) break;
435: }
436: }
#7 - File: /Phej.php, line 119
117: // trigger any existing "preload" hooks
118: $this -> setPluginHookStep("preload");
119: $this -> triggerHook('preload', array(&$this, $uri));
120:
121: // check for prefix locks (useful for plugin-provided controllers/URIs)
#8 - File: /index.php, line 111
109:
110: session_start();
111: $phej -> run(FRONT_URI);
112:
113: } catch (Exception $e) {