Fixed broken view page:

Removed get_include_contents() from /view/index.php because it was moved to /php/helpers.php.
Added necessary helpers.js script reference.
This commit is contained in:
Robbie Antenesse 2016-03-17 12:39:07 -06:00
parent 6e5ecb034d
commit 342d2fd7ec
1 changed files with 5 additions and 12 deletions

View File

@ -142,9 +142,13 @@ catch (PDOException $ex) {}
<script src="/js/defiant.js"></script>
<!-- Diacritics Removal for Exports -->
<script src="/js/removeDiacritics.js"></script>
<!-- Main Script -->
<!-- Helper Functions -->
<script src="/js/helpers.js"></script>
<!-- Main Functions -->
<script src="/js/dictionaryBuilder.js"></script>
<!-- UI Functions -->
<script src="/js/ui.js"></script>
<!-- Public View Functions -->
<script src="/js/publicView.js"></script>
<?php if ($_GET['adminoverride'] != "noadsortracking") { include_once("../php/google/analytics.php"); } ?>
<script>
@ -162,14 +166,3 @@ catch (PDOException $ex) {}
</script>
</body>
</html>
<?php
function get_include_contents($filename) {
if (is_file($filename)) {
ob_start();
include $filename;
return ob_get_clean();
}
return false;
}
?>