Changeset 808 for branches/Ver2.4/xpressme_integration_kit/wp-content
- Timestamp:
- Jun 27, 2012, 12:29:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/class-xpress-upgrader.php
r723 r808 42 42 return $working_dir; 43 43 $kit_dir = $working_dir .'/xpressme_integration_kit/'; 44 if (! file_exists($kit_dir)){ // search sub dir.44 if (!$wp_filesystem->exists($kit_dir)){ // search sub dir. 45 45 $kit_dir = ''; 46 46 $subdirs = $wp_filesystem->dirlist($working_dir,false); 47 47 foreach($subdirs as $subdir){ 48 if ( file_exists($working_dir .'/' .$subdir['name'] .'/xpressme_integration_kit/')){48 if ($wp_filesystem->exists($working_dir .'/' .$subdir['name'] .'/xpressme_integration_kit/')){ 49 49 $kit_dir = $working_dir .'/' .$subdir['name'] .'/xpressme_integration_kit/'; 50 50 continue;
Note: See TracChangeset
for help on using the changeset viewer.