Skip to content

Instantly share code, notes, and snippets.

@Logiks
Created April 24, 2014 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Logiks/11257704 to your computer and use it in GitHub Desktop.
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
<?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