Show
Ignore:
Timestamp:
03/30/07 17:05:28 (15 years ago)
Author:
exi
Message:

Added a maintenance option to kill all sql cachefiles.
Changed database connect to not use peristent connections.
Modified .htaccess in mods to only deny requests for .php pages.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/includes/class.db.php

    r190 r195  
    55    function DBConnection() 
    66    { 
    7         if (!$this->id_ = mysql_pconnect(DB_HOST, DB_USER, DB_PASS)) 
     7        if (!$this->id_ = mysql_connect(DB_HOST, DB_USER, DB_PASS)) 
    88            die("Unable to connect to mysql database."); 
    99