Dotclear

source: plugins/wfwcomment/_install.php @ 1009

Revision 1009, 671 bytes checked in by pep, 15 years ago (diff)

wfwcomment : initial import in DC Lab

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3#
4# This file is part of WFWComment, a plugin for DotClear2.
5#
6# Copyright (c) 2006-2009 Pep and contributors.
7# Licensed under the GPL version 2.0 license.
8# See LICENSE file or
9# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10#
11# -- END LICENSE BLOCK ------------------------------------
12if (!defined('DC_CONTEXT_ADMIN')) exit;
13
14$package_version = $core->plugins->moduleInfo('wfwcomment','version');
15$installed_version = $core->getVersion('wfwcomment');
16if (version_compare($installed_version,$package_version,'>=')) {
17     return;
18}
19
20$core->setVersion('wfwcomment',$package_version);
21return true;
22?>
Note: See TracBrowser for help on using the repository browser.

Sites map