Now displaying some useful message when conf/configuration.php
is not found.
This commit is contained in:
parent
3e91a16e99
commit
bf12281f61
1 changed files with 3 additions and 1 deletions
|
|
@ -13,7 +13,9 @@ set_include_path(get_include_path() . PATH_SEPARATOR . getcwd());
|
|||
|
||||
require_once 'HTML/Template/Flexy.php';
|
||||
require_once 'PEAR/XMLParser.php';
|
||||
require_once 'conf/configuration.php';
|
||||
// trying to give some meaningful info if there's no configuration file
|
||||
(@include_once 'conf/configuration.php') or
|
||||
die("Strip It isn't configured yet: conf/configuration.php file is missing.<br/>See README for details.");
|
||||
|
||||
class svg_parser extends PEAR_XMLParser
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue