From 129934f892850a90f98f8f5a0e7746cfe57bb958 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Mon, 28 May 2012 15:31:57 +0000 Subject: added new EasyGiant library --- h-source/Library/Hooks.php | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 h-source/Library/Hooks.php (limited to 'h-source/Library/Hooks.php') diff --git a/h-source/Library/Hooks.php b/h-source/Library/Hooks.php new file mode 100644 index 0000000..b16b6d5 --- /dev/null +++ b/h-source/Library/Hooks.php @@ -0,0 +1,38 @@ +. + +if (!defined('EG')) die('Direct access not allowed!'); + +//class to call the hooks +class Hooks +{ + + //include an hook file + public static function load($path) + { + if (file_exists($path)) + { + include_once($path); + } + } + +} \ No newline at end of file -- cgit v1.2.3