瀏覽代碼

Add files via upload

Daniele Bonini (皮夕): WebDev and DevOps by lots of sim.pli.city bits 2 年之前
父節點
當前提交
9c927939d1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Public/index.php

+ 2 - 2
Public/index.php

@@ -51,7 +51,7 @@ switch ($url) {
     $pattern = APP_DATA_PATH . DIRECTORY_SEPARATOR . "*";
     $pattern = APP_DATA_PATH . DIRECTORY_SEPARATOR . "*";
     $aAvatarPaths = glob($pattern, GLOB_ONLYDIR);
     $aAvatarPaths = glob($pattern, GLOB_ONLYDIR);
     if (empty($aAvatarPaths)) {
     if (empty($aAvatarPaths)) {
-      die("<br>&nbsp;No avatar exists yet: type in the url your avatar name like http://" . $_SERVER['HTTP_HOST']. "/&lt;your avatar&gt; <br>&nbsp;login and drag-n-drop here all the resources you want to associate to it. <br><br>&nbsp;Links by text and first dropped picture will be your avatar image.");
+      die("<br>&nbsp;No avatar exists yet: type in the url with your avatar name like http://" . $_SERVER['HTTP_HOST']. "/&lt;your avatar&gt;.<br>&nbsp;Login with the password and drag-n-drop here all the resources you want to associate to it. <br><br>&nbsp;Links by text and first dropped picture will be your avatar image.");
     } else {
     } else {
       define("AVATAR_NAME", basename($aAvatarPaths[0]));
       define("AVATAR_NAME", basename($aAvatarPaths[0]));
     }
     }
@@ -130,7 +130,7 @@ switch ($url) {
     define("SCRIPT_FILENAME", "home.php");   
     define("SCRIPT_FILENAME", "home.php");   
 
 
     define("AVATAR_NAME", $url);
     define("AVATAR_NAME", $url);
-    
+
     break;
     break;
 }
 }