/** * Constructor attempts to create kiss_errors.txt * @see makeErrorsFile() */ private function __construct() { self::$rootpath = str_replace('includes', '', str_replace(DIRECTORY_SEPARATOR, '/', realpath(dirname(__FILE__)))); $this->makeErrorsFile(); }