Changeset 19842
- Timestamp:
- Jan 5, 2013, 2:44:26 PM (11 years ago)
- Location:
- extensions/skeleton
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/skeleton/include/install.inc.php
r18858 r19842 53 53 54 54 // create a local directory 55 if ( file_exists(PWG_LOCAL_DIR) and !file_exists(PWG_LOCAL_DIR . 'skeleton/'))55 if (!file_exists(PHPWG_ROOT_PATH . PWG_LOCAL_DIR . 'skeleton/')) 56 56 { 57 mkdir(P WG_LOCAL_DIR . 'skeleton/', 0755);57 mkdir(PHPWG_ROOT_PATH . PWG_LOCAL_DIR . 'skeleton/', 0755); 58 58 } 59 59 -
extensions/skeleton/main.inc.php
r18650 r19842 27 27 define('SKELETON_ADMIN', get_root_url() . 'admin.php?page=plugin-' . SKELETON_ID); 28 28 define('SKELETON_PUBLIC', get_absolute_root_url() . make_index_url(array('section' => 'skeleton')) . '/'); 29 define('SKELETON_DIR', P WG_LOCAL_DIR . 'skeleton/');29 define('SKELETON_DIR', PHPWG_ROOT_PATH . PWG_LOCAL_DIR . 'skeleton/'); 30 30 define('SKELETON_VERSION', 'auto'); 31 31 // this is automatically updated by PEM if you publish your plugin with SVN, otherwise you musn't forget to change it, as well as "Version" in the plugin header -
extensions/skeleton/maintain.inc.php
r18050 r19842 59 59 60 60 // delete field 61 pwg_query('ALTER `'. IMAGES_TABLE .'` DROP "skeleton";');61 pwg_query('ALTER TABLE `'. IMAGES_TABLE .'` DROP `skeleton`;'); 62 62 63 63 // delete local folder 64 $dir = P WG_LOCAL_DIR . 'skeleton/';64 $dir = PHPWG_ROOT_PATH . PWG_LOCAL_DIR . 'skeleton/'; 65 65 foreach (scandir($dir) as $file) 66 66 {
Note: See TracChangeset
for help on using the changeset viewer.