ohartl 9 tahun lalu
induk
melakukan
3c9b0c6415

+ 1 - 1
include/php/classes/Auth.php

@@ -144,7 +144,7 @@ class Auth
 	 *
 	 *
 	 * @throws Exception Codes explained below
 	 * @throws Exception Codes explained below
 	 * 		2: One password field is empty
 	 * 		2: One password field is empty
-	 * 		3: Passwords are not equal
+	 * 		3: Passwords aren't equal
 	 * 		4: Passwort is too snort
 	 * 		4: Passwort is too snort
 	 */
 	 */
 	public static function validateNewPassword($password, $passwordRepeated)
 	public static function validateNewPassword($password, $passwordRepeated)

+ 1 - 1
include/php/global.inc.php

@@ -63,7 +63,7 @@ function writeLog($text)
 			fclose($logfile);
 			fclose($logfile);
 		}
 		}
 		else{
 		else{
-			die("Directory \"".WRITE_LOG_PATH."\" is not writable");
+			die("Directory \"".WRITE_LOG_PATH."\" isn't writable");
 		}
 		}
 	}
 	}
 }
 }

+ 1 - 1
include/php/pages/404.php

@@ -1,5 +1,5 @@
 <h1>This page does not exist.</h1>
 <h1>This page does not exist.</h1>
 
 
 <p>
 <p>
-	Sorry, the page you requested could not be found.
+	Sorry, the page you requested couldn't be found.
 </p>
 </p>

+ 1 - 1
include/php/pages/login.php

@@ -14,7 +14,7 @@ if(isset($_POST['email']) && isset($_POST['password'])){
 		if(Auth::login($_POST['email'], $_POST['password'])){
 		if(Auth::login($_POST['email'], $_POST['password'])){
 			redirect("private");
 			redirect("private");
 		}
 		}
-		// If login is not successful
+		// If login isn't successful
 		else{
 		else{
 			//Log error message
 			//Log error message
 			writeLog("WebMUM login failed for IP ".$_SERVER['REMOTE_ADDR']);
 			writeLog("WebMUM login failed for IP ".$_SERVER['REMOTE_ADDR']);

+ 1 - 1
include/php/pages/not-allowed.php

@@ -1,5 +1,5 @@
 <h1>Not allowed!</h1>
 <h1>Not allowed!</h1>
 
 
 <p>
 <p>
-	Sorry, you are not allowed to access this page.
+	Sorry, you aren't allowed to access this page.
 </p>
 </p>

+ 1 - 1
index.php

@@ -90,7 +90,7 @@ function loadPageByRoute($url)
 		return loadAndBufferOutput($file);
 		return loadAndBufferOutput($file);
 	}
 	}
 
 
-	die('Page file "'.$file.'" could not be found');
+	die('Page file "'.$file.'" couldn\'t be found');
 }
 }
 
 
 /**
 /**