Browse Source

Replaced 'sub' config parameter with 'page'

pull/24/head
Teknikode 8 years ago
parent
commit
fd717aae7b
  1. 4
      about/main.php
  2. 2
      git/index.php

4
about/main.php

@ -94,7 +94,7 @@ @@ -94,7 +94,7 @@
imgSource : '<?php echo get_page_url("cdn", $CONF); ?>/<?php echo $CONF['template']; ?>/img/',
cssSource : '<?php echo get_page_url("cdn", $CONF); ?>/<?php echo $CONF['template']; ?>/css/',
jsSource : '<?php echo get_page_url("cdn", $CONF); ?>/<?php echo $CONF['template']; ?>/js/coin/',
phpSource : '<?php echo get_page_url($CONF['sub'], $CONF); ?>/includes/'
phpSource : '<?php echo get_page_url($CONF['page'], $CONF); ?>/includes/'
});
</script>
<script>
@ -113,7 +113,7 @@ @@ -113,7 +113,7 @@
imgSource : '<?php echo get_page_url("cdn", $CONF); ?>/<?php echo $CONF['template']; ?>/img/',
cssSource : '<?php echo get_page_url("cdn", $CONF); ?>/<?php echo $CONF['template']; ?>/css/',
jsSource : '<?php echo get_page_url("cdn", $CONF); ?>/<?php echo $CONF['template']; ?>/js/coin/',
phpSource : '<?php echo get_page_url($CONF['sub'], $CONF); ?>/includes/'
phpSource : '<?php echo get_page_url($CONF['page'], $CONF); ?>/includes/'
});
</script>
</div>

2
git/index.php

@ -20,7 +20,7 @@ if(!preg_match($pattern, $url)) @@ -20,7 +20,7 @@ if(!preg_match($pattern, $url))
set_page_title("Teknik Git");
?>
<script src="<?php echo get_page_url($CONF['sub'], $CONF); ?>/templates/<?php echo $CONF['template']; ?>/js/codemirror/codemirror.js"></script>
<script src="<?php echo get_page_url($CONF['page'], $CONF); ?>/templates/<?php echo $CONF['template']; ?>/js/codemirror/codemirror.js"></script>
<?php
}

Loading…
Cancel
Save