- Timestamp:
- Aug 11, 2009, 4:31:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/class/config_from_xoops.class.php
r357 r360 41 41 var $mu_path_current_site; 42 42 var $wp_db_version; 43 var $is_wp20; 43 var $wp_version; 44 var $is_wp_me; 44 45 45 46 function __constructor() //for PHP5 … … 291 292 292 293 $this->wp_db_version = $wp_db_version; 293 if ($wp_db_version == 3441) 294 $this->is_wp20 = true; 295 else 296 $this->is_wp20 = false; 297 294 295 $this->wp_version = str_replace("ME", "", $wp_version); 296 297 $pattern = 'ME.*'; 298 if (preg_match('/' . $pattern . '/' ,$wp_version)){ 299 $this->is_wp_me = true; 300 } else { 301 $this->is_wp_me = true; 302 } 298 303 } 299 304
Note: See TracChangeset
for help on using the changeset viewer.