Line | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * @author Eric@piwigo.org |
---|
4 | * @copyright 2011 |
---|
5 | * |
---|
6 | * Upgrade processes for old plugin version |
---|
7 | * Called from maintain.inc.php on plugin activation |
---|
8 | * |
---|
9 | */ |
---|
10 | |
---|
11 | if(!defined('LCAS_PATH')) |
---|
12 | { |
---|
13 | define('LCAS_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); |
---|
14 | } |
---|
15 | if (!defined('LCAS_ROOT')) |
---|
16 | { |
---|
17 | define('LCAS_ROOT', dirname(__FILE__).'/'); |
---|
18 | } |
---|
19 | |
---|
20 | include_once (LCAS_PATH.'include/constants.php'); |
---|
21 | include_once (LCAS_PATH.'include/functions.inc.php'); |
---|
22 | |
---|
23 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.