12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- namespace addons\simditor;
- use app\common\library\Menu;
- use think\Addons;
- class Simditor extends Addons
- {
-
- public function install()
- {
- return true;
- }
-
- public function uninstall()
- {
- return true;
- }
- public function upgrade()
- {
- return true;
- }
-
- public function configInit(&$params)
- {
- $config = $this->getConfig();
- $params['simditor'] = ['classname' => $config['classname'] ?? '.editor'];
- }
- }
|