Commit e56771e5 authored by Chenu Denis's avatar Chenu Denis

[fix] 3.0 compatibility

parent cb243345
......@@ -3,9 +3,9 @@
* Tool for another plugin : Add some libraries for easiest manipulation on DOM
*
* @author Denis Chenu <denis@sondages.pro>
* @copyright 2015-2016 Denis Chenu <http://www.sondages.pro>
* @copyright 2015-2018 Denis Chenu <http://www.sondages.pro>
* @license GPL v3
* @version 0.1.1
* @version 0.2.0
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -17,10 +17,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
class toolsDomDocument extends \ls\pluginmanager\PluginBase
class toolsDomDocument extends PluginBase
{
protected $storage = 'DbStorage';
static protected $name = 'toolsDomDocument';
static protected $description = 'Tools for plugin : SmartDomDocument';
......@@ -38,8 +36,6 @@ class toolsDomDocument extends \ls\pluginmanager\PluginBase
public function afterPluginLoad()
{
Yii::setPathOfAlias('toolsDomDocument', dirname(__FILE__)."/libraries/SmartDOMDocument/");
//~ Yii::import('toolsDomDocument.SmartDOMDocument');
//~ $dom = new \toolsDomDocument\SmartDOMDocument();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment