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:
parent
6e5ecb034d
commit
342d2fd7ec
|
@ -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;
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue