Changeset 19830 for extensions/Google2Piwigo/maintain.inc.php
- Timestamp:
- Jan 5, 2013, 11:24:17 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Google2Piwigo/maintain.inc.php
r17475 r19830 7 7 global $conf; 8 8 9 mkdir($conf['data_location'].'picasa_wa_cache/', 0755); 9 mkgetdir(PHPWG_ROOT_PATH . $conf['data_location'] . 'picasa_wa_cache/', MKGETDIR_DEFAULT&~MKGETDIR_DIE_ON_ERROR); 10 } 11 12 function plugin_activate() 13 { 14 global $conf; 15 16 if (!file_exists(PHPWG_ROOT_PATH . $conf['data_location'] . 'picasa_wa_cache/')) 17 { 18 mkgetdir(PHPWG_ROOT_PATH . $conf['data_location'] . 'picasa_wa_cache/', MKGETDIR_DEFAULT&~MKGETDIR_DIE_ON_ERROR); 19 } 10 20 } 11 21 … … 14 24 global $conf; 15 25 16 rrmdir( $conf['data_location'].'picasa_wa_cache/');26 rrmdir(PHPWG_ROOT_PATH . $conf['data_location'] . 'picasa_wa_cache/'); 17 27 } 18 28
Note: See TracChangeset
for help on using the changeset viewer.