43 $basepath = dirname(dirname(dirname(dirname(__FILE__)))).
'/';
44 $file_str =
'('.str_replace($basepath,
'', $file).
') ';
48 $reason_str =
': '.$reason;
51 $this->config_file = $file;
53 $this->message =
'The configuration '.$file_str.
'is invalid'.$reason_str;
getReason()
Get the reason for this exception.
getConfFile()
Get the configuration file that caused this exception.
__construct($reason=null, $file=null, array $config=null)
ConfigurationError constructor.