Browse Source

Replaced 'sub' config parameter with 'page'

tags/v1.1^2
Teknikode 6 years ago
parent
commit
fd717aae7b
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      about/main.php
  2. 1
    1
      git/index.php

+ 2
- 2
about/main.php View File

@@ -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 @@
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>

+ 1
- 1
git/index.php View File

@@ -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