Changeset 6601 for trunk/src/includes/admin/tools/converter.php
- Timestamp:
- 06/23/2017 04:21:58 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/tools/converter.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/tools/converter.php
r6456 r6601 24 24 // Default 25 25 $files = array(); 26 $path = bbp ress()->admin->admin_dir . 'converters/';26 $path = bbp_setup_converter()->converters_dir; 27 27 $curdir = opendir( $path ); 28 28 … … 67 67 // Create a new converter object if it's found 68 68 if ( isset( $converters[ $platform ] ) ) { 69 70 // Include & create the converter 69 71 require_once $converters[ $platform ]; 70 return new $platform; 72 if ( class_exists( $platform ) ) { 73 return new $platform; 74 } 71 75 } 72 76
Note: See TracChangeset
for help on using the changeset viewer.