cleanup define file (psr2 and short array and link)
parent
d9269c60bf
commit
d4d19113e3
43
_define.php
43
_define.php
|
@ -1,13 +1,30 @@
|
|||
<?php
|
||||
# -- BEGIN LICENSE BLOCK ----------------------------------
|
||||
# This file is part of kUtRL, a plugin for Dotclear 2.
|
||||
#
|
||||
# Copyright (c) 2009-2011 JC Denis and contributors
|
||||
# jcdenis@gdwd.com
|
||||
#
|
||||
# Licensed under the GPL version 2.0 license.
|
||||
# A copy of this license is available in LICENSE file or at
|
||||
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||||
# -- END LICENSE BLOCK ------------------------------------
|
||||
if (!defined('DC_RC_PATH')){return;}
|
||||
$this->registerModule(
/* Name */ "kUtRL",
/* Description*/ "Use, create and serve short url on your blog",
/* Author */ "JC Denis",
/* Version */ '2011.03.24',
/* Permissions */ 'admin'
);
?>
|
||||
<?php
|
||||
# -- BEGIN LICENSE BLOCK ----------------------------------
|
||||
# This file is part of kUtRL, a plugin for Dotclear 2.
|
||||
#
|
||||
# Copyright (c) 2009-2011 JC Denis and contributors
|
||||
# jcdenis@gdwd.com
|
||||
#
|
||||
# Licensed under the GPL version 2.0 license.
|
||||
# A copy of this license is available in LICENSE file or at
|
||||
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||||
# -- END LICENSE BLOCK ------------------------------------
|
||||
|
||||
if (!defined('DC_RC_PATH')) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$this->registerModule(
|
||||
'kUtRL',
|
||||
'Use, create and serve short url on your blog',
|
||||
'Jean-Christian Denis and contributors',
|
||||
'2011.03.24',
|
||||
[
|
||||
'permissions' => 'admin',
|
||||
'type' => 'plugin',
|
||||
'dc_min' => '2.19',
|
||||
'support' => 'https://github.com/JcDenis/kUtRL',
|
||||
'details' => 'http://plugins.dotaddict.org/dc2/details/kUtRL',
|
||||
'repository' => 'https://raw.githubusercontent.com/JcDenis/kUtRL/master/repository.xml'
|
||||
]
|
||||
);
|
Loading…
Reference in New Issue