Exemple #1
0
 /**
  * Constructor
  *
  * Reads project's and default .ini file, sets project handler's 
  * and initializes paths.
  * @param location config file
  */
 public function __construct()
 {
     parent::__construct();
     $this->template = array();
     $this->templateFile = "plugins.tpl";
     $this->basePath = realpath(dirname(__FILE__) . "/../") . "/";
     $view = ViewManager::getInstance();
     $view->insert(self::VIEW_PLUGIN, 'Plugins');
     $view->insert(self::VIEW_PLUGIN_KEY, 'Plugin key');
     $view->insert(self::VIEW_SUCCESS, 'Update succesful');
     $view->insert(self::VIEW_UPDATE, 'Update');
 }