瀏覽代碼

Update README and fix comment

Thomas Leister 10 年之前
父節點
當前提交
fa42c1c5c6
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 0
      README.md
  2. 1 1
      index.php

+ 3 - 0
README.md

@@ -172,6 +172,9 @@ Only the user with this specific e-mail address will have access to the administ
 	 */
 	
 	define("ADMIN_EMAIL", "admin@domain.tld");
+	
+The admin's e-mail account must be existent in the virtual user database on your own server. (=> an e-mail account on a foreign server won't give you access!).
+You can then login into the admin dashboard with that e-mail address and the corresponding password.
 
 ### Minimal required password length
 

+ 1 - 1
index.php

@@ -109,7 +109,7 @@ function load_page($p){
 $path = $_SERVER["REQUEST_URI"];
 // Remove GET Parameters
 $path = preg_replace('/\?.*/', '', $path);
-// Remove prescending directory part e.g. /webmum/ defined in SUBDIR
+// Remove prescending directory part e.g. webmum/ defined in SUBDIR
 $path = preg_replace("#".SUBDIR."#", '', $path);
 
 // Webserver should add trailing slash, but if there is no trailing slash for any reason, add one ;)