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