PHP 8 modifications
Modifications to avoid "Deprecated" warnings in sql_connect function
This commit is contained in:
parent
d00fa45fa3
commit
1528110257
1 changed files with 7 additions and 1 deletions
|
@ -32,6 +32,12 @@ class sql_db
|
||||||
var $open_queries = array();
|
var $open_queries = array();
|
||||||
|
|
||||||
var $indexed = 0;
|
var $indexed = 0;
|
||||||
|
/* 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)
|
||||||
{
|
{
|
||||||
|
@ -559,4 +565,4 @@ class sql_db
|
||||||
|
|
||||||
} // if ... define
|
} // if ... define
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue