diff --git a/favicon.png b/favicon.png index b04f06d..4780841 100644 Binary files a/favicon.png and b/favicon.png differ diff --git a/images/ice-coder-icon.png b/images/ice-coder-icon.png new file mode 100644 index 0000000..dfeea1d Binary files /dev/null and b/images/ice-coder-icon.png differ diff --git a/images/ice-coder.png b/images/ice-coder.png index 25f86f8..d17b2bc 100644 Binary files a/images/ice-coder.png and b/images/ice-coder.png differ diff --git a/index.php b/index.php index 3fe6abd..c797d92 100644 --- a/index.php +++ b/index.php @@ -126,7 +126,7 @@ if (file_exists(dirname(__FILE__)."/plugins/jshint/jshint.js")) {
logout : v
- +
diff --git a/lib/config___settings.php b/lib/config___settings.php index f222d29..e5526a6 100644 --- a/lib/config___settings.php +++ b/lib/config___settings.php @@ -3,6 +3,7 @@ $ICEcoderSettings = array( "versionNo" => "2.5", "codeMirrorDir" => "CodeMirror-3.13", + "docRoot" => $_SERVER['DOCUMENT_ROOT'], "demoMode" => false, "devMode" => false, "multiUser" => false, diff --git a/lib/ice-coder.css b/lib/ice-coder.css index 09c5a1b..8310cd7 100644 --- a/lib/ice-coder.css +++ b/lib/ice-coder.css @@ -69,7 +69,7 @@ h2 {font-size: 18px; font-weight: normal; color: #fff} .header .tools {position: absolute; display: inline-block; left: 15px; top: 3px} .header .plugins {position: absolute; display: inline-block; left: 55px; top: 3px} .header .plugins img {position: relative; display: inline-block; margin-right: 15px} -.header .screenModeIcon {position: absolute; top: 5px; right: 178px; cursor: pointer} +.header .screenModeIcon {position: absolute; top: 5px; right: 46px; cursor: pointer} .header .version {position: relative; display: inline-block; margin-top: 25px; font-size: 10px; color: #bbb} .header .version a {font-size: 10px; color: #bbb; text-decoration: none} .header .logo {position: relative; margin: 5px 10px 0 5px; cursor: pointer} diff --git a/lib/settings-screen.php b/lib/settings-screen.php index 80bac70..fae878c 100644 --- a/lib/settings-screen.php +++ b/lib/settings-screen.php @@ -37,9 +37,13 @@ for ($i=0;$i -
v

+

+ version:
+ v +

+ website:
http://icecoder.net

diff --git a/lib/settings.php b/lib/settings.php index 3d56865..98a107a 100644 --- a/lib/settings.php +++ b/lib/settings.php @@ -186,7 +186,7 @@ $_SESSION['username'] = $_SESSION['username']; // Define the serverType, docRoot & iceRoot $serverType = stristr($_SERVER['SERVER_SOFTWARE'], "win") ? "Windows" : "Linux"; -$docRoot = rtrim(str_replace("\\","/",$_SERVER['DOCUMENT_ROOT'])); +$docRoot = rtrim(str_replace("\\","/",$ICEcoder['docRoot'])); $iceRoot = rtrim(str_replace("\\","/",$ICEcoder["root"])); if ($_SESSION['loggedIn']) { echo ""; @@ -360,7 +360,7 @@ echo $ICEcoder["password"] == "" && !$ICEcoder["multiUser"] ? "Setup" : "Login";

- +
v


';};?>