PHP 8 modifications
modifications to avoid "Deprecated" warnings in sql_connect function
This commit is contained in:
parent
a4e0721c6b
commit
c67515b7e6
1 changed files with 7 additions and 1 deletions
|
@ -33,6 +33,12 @@ class sql_db
|
||||||
|
|
||||||
var $last_query_text = '';
|
var $last_query_text = '';
|
||||||
|
|
||||||
|
/* 2023-12-20 modifications to avoid "Deprecated" warnings in sql_connect function*/
|
||||||
|
var $user;
|
||||||
|
var $persistency;
|
||||||
|
var $dbname;
|
||||||
|
var $server;
|
||||||
|
/*2023-12-20 end */
|
||||||
function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false)
|
function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false)
|
||||||
{
|
{
|
||||||
$this->persistency = $persistency;
|
$this->persistency = $persistency;
|
||||||
|
@ -524,4 +530,4 @@ class sql_db
|
||||||
|
|
||||||
} // if ... define
|
} // if ... define
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue