Created
April 24, 2014 14:55
-
-
Save Logiks/11257704 to your computer and use it in GitHub Desktop.
This is a basic module boiler plate. Just create a folder in the plugins>modules folder, then create an index.php with the content of this gist, done a new module is created and can be loaded using loadModule('<module name>'); #Logiks-Boilerplates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//For security purpose | |
if(!defined("ROOT")) exit("Direct access to this file is not allowed."); | |
echo "Hello World Module ..."; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment