inc/toolkit.inc.php
changeset 6 9fcac40c1b0e
parent 4 55ed92aa7cf5
child 13 2ff220cfde13
equal deleted inserted replaced
5:ebf8868e99f5 6:9fcac40c1b0e
    44    define(LETTERSTART, "a");
    44    define(LETTERSTART, "a");
    45 }
    45 }
    46 
    46 
    47 if(!@include_once("config.inc.php"))
    47 if(!@include_once("config.inc.php"))
    48 {
    48 {
    49 	error("You have to create a config.inc.php!");
    49 	error( _('You have to create a config.inc.php!') );
    50 }
    50 }
    51 
    51 
    52 if(is_file( dirname(__FILE__) . '/../install.php'))
    52 if(is_file( dirname(__FILE__) . '/../install.php'))
    53 {
    53 {
    54 	error("You have to remove install.php before this program will run");
    54 	error( _('You have to remove install.php before this program will run') );
    55 }
    55 }
    56 
    56 
    57 if(is_file( dirname(__FILE__) . '/../migrator.php'))
    57 if(is_file( dirname(__FILE__) . '/../migrator.php'))
    58 {
    58 {
    59         error("You have to remove migrator.php before this program will run");
    59         error( _('You have to remove migrator.php before this program will run') );
    60 }
    60 }
    61 
    61 
    62 /* Database connection */
    62 /* Database connection */
    63 
    63 
    64 require_once("database.inc.php");
    64 require_once("database.inc.php");