123456789101112131415161718192021222324252627 |
- <?php
- if(!defined('entry') || !entry) die('Not a valid page');
-
- ?>
- <?php
-
- $GLOBALS['plugins::$instances'] = array();
-
- class plugins {
-
- function addAction($name, $function) {
- $plugEngine =& plugin::instance();
- $plugEngine->actions[$name][] = array($this, $function);
- }
-
- }
- ?>
|