Added module loader for external modules

A simple module loader to load modules dropped into the modules folder.
This commit is contained in:
Paul-Vincent Roll
2016-01-27 15:51:36 +01:00
parent 5ca05a3e34
commit c7974e4fa0
6 changed files with 29 additions and 0 deletions

View File

@@ -36,5 +36,6 @@
<script src="js/news/news.js"></script>
<script src="js/main.js?nocache=<?php echo md5(microtime()) ?>"></script>
<!-- <script src="js/socket.io.min.js"></script> -->
<?php include($_SERVER['DOCUMENT_ROOT'].'/controllers/modules.php');?>
</body>
</html>