Removed get_include_contents() from /view/index.php because it was moved to /php/helpers.php
This commit is contained in:
parent
6e5ecb034d
commit
e94711a406
|
@ -162,14 +162,3 @@ catch (PDOException $ex) {}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</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