Untitled
public text v1 · immutable function __construct(){
clearstatcache();
if(defined("yCONF") && defined("yROOT") && file_exists(yCONF) && file_exists(yROOT)) {
try {
if(($this->ini = @parse_ini_file(yCONF, true)) === FALSE)
throw new Exception('Configuration file\'s syntax error.');
} catch(Exception $e) {
print 'Error: '.$e->getMessage();
}
} else {
die('yCore: Init Configuration Error.'); ## setup ?!
}
}