Changeset 491 for trunk/xpressme_integration_kit/admin/index.php
- Timestamp:
- Dec 16, 2009, 1:22:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/admin/index.php
r416 r491 164 164 global $xoopsModule; 165 165 include(dirname(__FILE__) . '/../wp-includes/version.php'); 166 166 require_once dirname(dirname( __FILE__ )).'/class/config_from_xoops.class.php' ; 167 167 168 if ($is_report) { 168 169 echo "******** " . _AM_XP2_SYSTEM_INFO . "********" . "<br />\n"; … … 190 191 echo ( extension_loaded( 'xml' )) ? "ON" : "OFF"; 191 192 echo "<br />\n"; 192 echo " memory_limit: " ;193 echo "default memory_limit: " ; 193 194 echo ini_get( 'memory_limit' ); 194 195 echo "<br />\n"; 196 $xoops_config = new ConfigFromXoops; 197 $xoops_config->xpress_set_memory_limmit(); 198 echo "change memory_limit: " ; 199 echo ini_get( 'memory_limit' ); 200 echo "<br />\n"; 201 195 202 echo "post_max_size: " ; 196 203 echo ini_get( 'post_max_size' ); … … 258 265 echo ( extension_loaded( 'xml' )) ? "ON" : "OFF"; 259 266 echo "</text><br />"; 260 echo "<label> memory_limit:</label><text>";267 echo "<label>default memory_limit:</label><text>"; 261 268 echo ini_get( 'memory_limit' ); 262 269 echo "</text><br />"; 270 $xoops_config = new ConfigFromXoops; 271 $xoops_config->xpress_set_memory_limmit(); 272 echo "<label>change memory_limit:</label><text>"; 273 echo ini_get( 'memory_limit' ); 274 echo "</text><br />"; 275 263 276 echo "<label>post_max_size:</label><text>"; 264 277 echo ini_get( 'post_max_size' ); … … 571 584 function xpress_block_state($is_report = false) 572 585 { 573 require_once dirname(dirname( __FILE__ )).'/class/config_from_xoops.class.php' ; 574 $xoops_config = new ConfigFromXoops; 575 586 $mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; 587 576 588 include_once(dirname(dirname(__FILE__) ). '/class/check_blocks_class.php'); 577 589 $xoops_block_check =& xoops_block_check::getInstance(); 578 $xoops_block_check->check_blocks($ xoops_config->module_name);590 $xoops_block_check->check_blocks($mydirname); 579 591 if ($is_report){ 580 592 echo "******** " . _AM_XP2_BLOCK_STATS . "********" . "<br />\n";
Note: See TracChangeset
for help on using the changeset viewer.