Changeset 1191

Show
Ignore:
Timestamp:
01/17/06 22:30:53 (3 years ago)
Author:
mbonetti
Message:

redirect to install when no dbinit.php file exists

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/rss/db.php

    r1181 r1191  
    2626############################################################################### 
    2727 
    28 require_once(dirname(__FILE__) . '/dbinit.php'); 
     28if (!@include_once(dirname(__FILE__) . '/dbinit.php')) { 
     29    header('Location: install.php'); 
     30    exit(); 
     31} 
     32 
    2933if (!defined('DBTYPE')) { 
    3034    define ('DBTYPE','mysql');