Changeset 7395


Ignore:
Timestamp:
Oct 26, 2010, 10:04:14 AM (10 years ago)
Author:
grum
Message:

Fix bugs on install/update process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GrumPluginClasses/main.inc.php

    r7370 r7395  
    136136if(!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
    137137
    138 define('GPC_DIR' , basename(dirname(__FILE__)));
    139 define('GPC_PATH' , PHPWG_PLUGINS_PATH . GPC_DIR . '/');
     138if(!defined('GPC_DIR')) define('GPC_DIR' , basename(dirname(__FILE__)));
     139if(!defined('GPC_PATH')) define('GPC_PATH' , PHPWG_PLUGINS_PATH . GPC_DIR . '/');
     140
    140141
    141142include_once('gpc_version.inc.php'); // => Don't forget to update this file !!
Note: See TracChangeset for help on using the changeset viewer.