Spelling
This commit is contained in:
parent
342e0d510f
commit
3c9b0c6415
6 changed files with 6 additions and 6 deletions
|
@ -144,7 +144,7 @@ class Auth
|
|||
*
|
||||
* @throws Exception Codes explained below
|
||||
* 2: One password field is empty
|
||||
* 3: Passwords are not equal
|
||||
* 3: Passwords aren't equal
|
||||
* 4: Passwort is too snort
|
||||
*/
|
||||
public static function validateNewPassword($password, $passwordRepeated)
|
||||
|
|
|
@ -63,7 +63,7 @@ function writeLog($text)
|
|||
fclose($logfile);
|
||||
}
|
||||
else{
|
||||
die("Directory \"".WRITE_LOG_PATH."\" is not writable");
|
||||
die("Directory \"".WRITE_LOG_PATH."\" isn't writable");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<h1>This page does not exist.</h1>
|
||||
|
||||
<p>
|
||||
Sorry, the page you requested could not be found.
|
||||
Sorry, the page you requested couldn't be found.
|
||||
</p>
|
|
@ -14,7 +14,7 @@ if(isset($_POST['email']) && isset($_POST['password'])){
|
|||
if(Auth::login($_POST['email'], $_POST['password'])){
|
||||
redirect("private");
|
||||
}
|
||||
// If login is not successful
|
||||
// If login isn't successful
|
||||
else{
|
||||
//Log error message
|
||||
writeLog("WebMUM login failed for IP ".$_SERVER['REMOTE_ADDR']);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<h1>Not allowed!</h1>
|
||||
|
||||
<p>
|
||||
Sorry, you are not allowed to access this page.
|
||||
Sorry, you aren't allowed to access this page.
|
||||
</p>
|
|
@ -90,7 +90,7 @@ function loadPageByRoute($url)
|
|||
return loadAndBufferOutput($file);
|
||||
}
|
||||
|
||||
die('Page file "'.$file.'" could not be found');
|
||||
die('Page file "'.$file.'" couldn\'t be found');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue