Changeset 19838
- Timestamp:
- Jan 5, 2013, 2:31:06 PM (11 years ago)
- Location:
- extensions/comments_blacklist
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/comments_blacklist/include/install.inc.php
r18369 r19838 16 16 } 17 17 18 if ( file_exists(PWG_LOCAL_DIR) and !file_exists(PWG_LOCAL_DIR . 'comments_blacklist.txt'))18 if (!file_exists(PHPWG_ROOT_PATH . PWG_LOCAL_DIR . 'comments_blacklist.txt')) 19 19 { 20 touch(P WG_LOCAL_DIR . 'comments_blacklist.txt');20 touch(PHPWG_ROOT_PATH . PWG_LOCAL_DIR . 'comments_blacklist.txt'); 21 21 } 22 22 -
extensions/comments_blacklist/main.inc.php
r18651 r19838 14 14 define('COMM_BLACKLIST_PATH' , PHPWG_PLUGINS_PATH . COMM_BLACKLIST_ID . '/'); 15 15 define('COMM_BLACKLIST_ADMIN', get_root_url() . 'admin.php?page=plugin-' . COMM_BLACKLIST_ID); 16 define('COMM_BLACKLIST_FILE', P WG_LOCAL_DIR . 'comments_blacklist.txt');16 define('COMM_BLACKLIST_FILE', PHPWG_ROOT_PATH . PWG_LOCAL_DIR . 'comments_blacklist.txt'); 17 17 define('COMM_BLACKLIST_VERSION', 'auto'); 18 18 -
extensions/comments_blacklist/maintain.inc.php
r18369 r19838 22 22 function plugin_uninstall() 23 23 { 24 @unlink(P WG_LOCAL_DIR . 'comments_blacklist.txt');24 @unlink(PHPWG_ROOT_PATH . PWG_LOCAL_DIR . 'comments_blacklist.txt'); 25 25 } 26 26
Note: See TracChangeset
for help on using the changeset viewer.