Last active
March 10, 2019 18:12
-
-
Save FluxCoder/96373065044f499a96d8f443d651ba34 to your computer and use it in GitHub Desktop.
Index.php - Used for hooks project
This file contains hidden or 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 | |
// Main index.php, could be combined with router to add hooks to entire site. | |
// https://jroffey.me | |
$x_events = array(); | |
global $x_events; | |
//Include App Class & create variable. | |
require("app.class.php"); | |
$app = new app(); | |
//Run header_info hook [Example] | |
$app->RunHooks('header_info'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment