summaryrefslogtreecommitdiffstats
path: root/includes/footer.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/footer.php')
-rw-r--r--includes/footer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/footer.php b/includes/footer.php
index 64f8c7c..e9e0c08 100644
--- a/includes/footer.php
+++ b/includes/footer.php
@@ -24,7 +24,7 @@
<?php
$js_files=array("jquery","pjax.jquery","gazeimg","nprogress","OwO.min","highlight","highlight-line-number","pangu","qrcode.min","details-element-polyfill");
if($this->options->customCDN): $custom=$this->options->customCDN; else: $custom=Helper::options()->themeUrl("","Miracles"); endif;
- generate_require($js_files,"js",$this->options->CDN,$custom);
+ Utils::addRequires($js_files,"js",$this->options->CDN,$custom);
?>
<!-- Options -->
<script>var navSlide = <?php if($this->options->navSlide==1):?>false<?php else:?>true<?php endif;?>;
@@ -42,7 +42,7 @@
<?php
$js_files=array("miracles.min","cmt.miracles");
if($this->options->customCDN): $custom=$this->options->customCDN; else: $custom=Helper::options()->themeUrl("","Miracles"); endif;
- generate_require($js_files,"js",$this->options->CDN,$custom);
+ Utils::addRequires($js_files,"js",$this->options->CDN,$custom);
?>
<!-- JavaScript -->
<script>