diff --git a/function/heroku.php b/function/heroku.php index 25d135d..d170e7a 100644 --- a/function/heroku.php +++ b/function/heroku.php @@ -2,6 +2,7 @@ function getpath() { + $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_FORWARDED_FOR']; $_SERVER['base_path'] = path_format(substr($_SERVER['SCRIPT_NAME'], 0, -10) . '/'); $p = strpos($_SERVER['REQUEST_URI'],'?'); if ($p>0) $path = substr($_SERVER['REQUEST_URI'], 0, $p); diff --git a/function/normal.php b/function/normal.php index c22a35a..5a1f0c1 100644 --- a/function/normal.php +++ b/function/normal.php @@ -158,13 +158,13 @@ run Writeable.sh.'; } $html .= '
-
language:
'; foreach ($constStr['languages'] as $key1 => $value1) { $html .= '
'; } $html .= '
+