Esempio n. 1
0
 public function __construct()
 {
     mgActivateThisPlugin(__FILE__, array(__CLASS__, 'activate'));
     mgAddAction('page_getpagesul', array(__CLASS__, 'addUploadField'), 1);
     mgAddAction('page_delpage', array(__CLASS__, 'deletePage'), 1);
     self::$pluginName = PM::getFolderPlugin(__FILE__);
     self::$lang = PM::plugLocales(self::$pluginName);
     self::$path = PLUGIN_DIR . self::$pluginName;
 }