PHP 8 modifications

modifications to avoid "Deprecated" warnings in sql_connect function
This commit is contained in:
buckaroo-labs 2023-12-20 16:40:53 -08:00 committed by GitHub
parent 969a80b478
commit ec115471e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,13 @@ class sql_db
var $num_queries = 0;
var $open_queries = array();
/* 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, $persistency = false)
{
$this->persistency = $persistency;