Unsupported scripts and control panel web app for a hosting company
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

database.php 406B

12345678910111213141516171819
  1. <?PHP
  2. if (defined('LIB_DB') && !isset($_redodb)) { return; }
  3. require_once('lib/profiler.php');
  4. require_once('lib/log.php');
  5. mysql_connect('localhost', '', '');
  6. mysql_select_db('');
  7. if (!function_exists('mf')) {
  8. function mf ($file, $line, $sql) {
  9. logger::log($file.'<'.$line.'>: MySQL query failed: '.mysql_error().' [SQL: '.$sql.']', logger::important);
  10. }
  11. }
  12. define('LIB_DB', true);
  13. ?>