28 lines
1000 B
PHP
28 lines
1000 B
PHP
<?php #var/errors.php
|
|
|
|
//Define Level of internal error reporting
|
|
//0: none, 1: report in output, 2: report to file (log/errors.txt), 4: just count, 8: only if admin, 16: only if param
|
|
//Sums are possible (e.g. 3 means reporting both to file and output
|
|
define("DEBUGLVL", 1);
|
|
define("ERRORLVL", E_ALL);
|
|
define("TPLERRORS", "res/errors.html");
|
|
|
|
$err = array(
|
|
"out" => array(),
|
|
"unknown" => "Unbekannter Fehler oder Meldung: ",
|
|
"pgsInc" => "Can't include page: ",
|
|
"noLib" => "Required library doesn't exist: ",
|
|
"noTpl" => "Can't find Template: ",
|
|
"noCss" => "Can't find CSS-file: ",
|
|
"noJs" => "Can't find JS-file: ",
|
|
"invBlogID" => "This is not a valid Blog-ID: ",
|
|
"pgsDown" => "Page down for maintenance!",
|
|
"passChangeFail" => "Passwort konnte nicht geändert werden: ",
|
|
"passChangeSuccess" => "Change password successful: ",
|
|
"Mysql" => "Mysql error: ",
|
|
"eMail" => "eMail error: ",
|
|
"loginFailed" => "Login fehlgeschlagen: ",
|
|
"debug" => "Debug-Ausgabe: "
|
|
);
|
|
|
|
?>
|