newVersion( basename(__DIR__), dcCore::app()->plugins->moduleInfo(basename(__DIR__), 'version') )) { return null; } # Set module settings dcCore::app()->blog->settings->addNamespace(basename(__DIR__)); foreach (self::$mod_conf as $v) { dcCore::app()->blog->settings->__get(basename(__DIR__))->put( $v[0], $v[2], $v[3], $v[1], false, true ); } return true; } catch (Exception $e) { dcCore::app()->error->add($e->getMessage()); return false; } } } return Install::process();