12345678910111213141516171819202122232425 |
- <?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);
- }
-
- }
- ?>
|