Default = icecoder fix

If you choose the default theme, we need to identify that as 'iceocder'
This commit is contained in:
Matt Pass
2012-04-20 08:01:13 +01:00
parent b5e8afb8d9
commit 8019f66a78

View File

@@ -27,7 +27,7 @@ if ($testcMVersion) {
<link rel="stylesheet" type="text/css" href="lib/coder.css">
<script>
shortURLStarts = "<?php echo $shortURLStarts;?>";
theme = "<?php echo $theme;?>";
theme = "<?php if ($theme=="default") {echo 'icecoder';} else {echo $theme;};?>";
<?
$docRoot = str_replace("\\","/",$_SERVER['DOCUMENT_ROOT']);
if (strrpos($docRoot,"/")==strlen($docRoot)-1) {$docRoot = substr($docRoot,0,strlen($docRoot)-1);};