Notice: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' in /var/www/bagnet.org/config/config.php on line 9

Notice: Use of undefined constant MYSQLI_ASSOC - assumed 'MYSQLI_ASSOC' in /var/www/bagnet.org/config/config.php on line 9
isMobile() ? ($detect->isTablet() ? false : true) : false); if (isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'], 'SM-T355') !== false){ $isMobile = false; } $_title = 'Багнет'; $_description = ''; $_keywords = ''; ?>
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/bagnet.org/libs/sql_db.php:134 Stack trace: #0 /var/www/bagnet.org/libs/sql_db.php(177): sql_db->sql_connect() #1 /var/www/bagnet.org/includes/functions.php(955): sql_db->sql_query('SELECT * FROM n...') #2 /var/www/bagnet.org/news.php(8): getNewsCatByAlias('accidents') #3 /var/www/bagnet.org/index.php(39): include('/var/www/bagnet...') #4 {main} thrown in /var/www/bagnet.org/libs/sql_db.php on line 134