mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
PHP Doc for $sql and $tp.
This commit is contained in:
parent
6201c906a6
commit
1c7c230f41
@ -369,6 +369,7 @@ if(!defined('e_SECURITY_LEVEL'))
|
||||
//$e107->url = e107::getUrl(); - caught by __get()
|
||||
//TODO - find & replace $e107->url
|
||||
//DEPRECATED, BC, $e107->tp caught by __get()
|
||||
/** @var e_parse $tp */
|
||||
$tp = e107::getParser(); //TODO - find & replace $tp, $e107->tp
|
||||
|
||||
//define("e_QUERY", $matches[2]);
|
||||
@ -431,6 +432,7 @@ e107::getSingleton('e107_traffic'); // We start traffic counting ASAP
|
||||
// e107_require_once(e_HANDLER.'mysql_class.php');
|
||||
|
||||
//DEPRECATED, BC, $e107->sql caught by __get()
|
||||
/** @var e_db_mysql $sql */
|
||||
$sql = e107::getDb(); //TODO - find & replace $sql, $e107->sql
|
||||
$sql->db_SetErrorReporting(false);
|
||||
|
||||
@ -719,7 +721,7 @@ if(isset($pref['lan_global_list']))
|
||||
|
||||
$sql->db_Mark_Time('CHAP challenge');
|
||||
|
||||
$die = (e_AJAX_REQUEST == true) ? false : true;
|
||||
$die = (e_AJAX_REQUEST == true) ? false : true;
|
||||
e107::getSession()
|
||||
->challenge() // Make sure there is a unique challenge string for CHAP login
|
||||
->check($die); // Token protection
|
||||
|
Loading…
x
Reference in New Issue
Block a user