- Timestamp:
- Jun 4, 2009, 2:02:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/class/config_from_xoops.class.php
r232 r252 38 38 var $mu_domain_current_site; 39 39 var $mu_path_current_site; 40 40 var $wp_db_version; 41 var $is_wp20; 41 42 42 43 function __constructor() //for PHP5 … … 163 164 164 165 $this->set_module_version(); 165 $this->set_ is_wpmu();166 $this->set_wp_version(); 166 167 $this->set_mu_current_site(); 167 168 } … … 194 195 } 195 196 196 function set_ is_wpmu(){197 function set_wp_version(){ 197 198 include dirname(dirname(__FILE__)) . '/wp-includes/version.php'; 198 199 … … 201 202 else 202 203 $this->is_wpmu = true; 204 205 $this->wp_db_version = $wp_db_version; 206 if ($wp_db_version == 3441) 207 $this->is_wp20 = true; 208 else 209 $this->is_wp20 = false; 210 203 211 } 204 212
Note: See TracChangeset
for help on using the changeset viewer.