Changeset 169 for trunk/admin
- Timestamp:
- Apr 8, 2009, 9:13:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/index.php
r160 r169 104 104 if ($is_report) { 105 105 echo "******** " . _AM_XPRESS_PLUGIN . "********" . "<br />\n"; 106 echo get_xpress_active_plugin_list('  ') . "<br />\n";106 echo get_xpress_active_plugin_list('') . "<br />\n"; 107 107 } else { 108 108 echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . _AM_XPRESS_PLUGIN . "</legend>"; … … 121 121 if ($is_report) { 122 122 echo "******** " . _AM_SYSTEM_INFO . "********" . "<br />\n"; 123 echo ' ' ."SERVER: ". $_SERVER['SERVER_SOFTWARE']. "<br />\n";124 echo ' ' ."PHP Version: " . phpversion() . "<br />\n";125 echo ' ' ."MySQL Version: " . mysql_get_server_info() . "</text><br />";126 echo ' ' ."XOOPS Version: " . XOOPS_VERSION . "</text><br />";127 echo ' ' ."XPressME Version: " . $xoopsModule->getInfo('version') . ' ' . $xoopsModule->getInfo('codename') . "<br />\n";128 echo ' ' ."WordPress Version: " . $wp_version . "<br />\n";129 echo ' ' ."WP DB Version: " . $wp_db_version . "<br />\n";130 echo "<br />\n"; 131 echo ' ' ."safemode: " ;123 echo "SERVER: ". $_SERVER['SERVER_SOFTWARE']. "<br />\n"; 124 echo "PHP Version: " . phpversion() . "<br />\n"; 125 echo "MySQL Version: " . mysql_get_server_info() . "</text><br />"; 126 echo "XOOPS Version: " . XOOPS_VERSION . "</text><br />"; 127 echo "XPressME Version: " . $xoopsModule->getInfo('version') . ' ' . $xoopsModule->getInfo('codename') . "<br />\n"; 128 echo "WordPress Version: " . $wp_version . "<br />\n"; 129 echo "WP DB Version: " . $wp_db_version . "<br />\n"; 130 echo "<br />\n"; 131 echo "safemode: " ; 132 132 echo ( ini_get( 'safe_mode' ) ) ? "ON" : "OFF"; 133 133 echo "<br />\n"; 134 echo ' ' ."register_globals: " ;134 echo "register_globals: " ; 135 135 echo ( ini_get( 'register_globals' )) ? "ON" : "OFF" ; 136 136 echo "<br />\n"; 137 echo ' ' ."magic_quotes_gpc: " ;137 echo "magic_quotes_gpc: " ; 138 138 echo ( ini_get( 'magic_quotes_gpc' )) ? "ON" : "OFF"; 139 139 echo "<br />\n"; 140 echo ' ' ."XML extension: " ;140 echo "XML extension: " ; 141 141 echo ( extension_loaded( 'xml' )) ? "ON" : "OFF"; 142 142 echo "<br />\n"; 143 echo ' ' ."memory_limit: " ;143 echo "memory_limit: " ; 144 144 echo ini_get( 'memory_limit' ); 145 145 echo "<br />\n"; 146 echo ' ' ."post_max_size: " ;146 echo "post_max_size: " ; 147 147 echo ini_get( 'post_max_size' ); 148 148 echo "<br />\n"; 149 echo ' ' ."upload_max_filesize: " ;149 echo "upload_max_filesize: " ; 150 150 echo ini_get( 'upload_max_filesize' ); 151 151 echo "<br />\n"; 152 echo ' ' ."display_errors: " ;152 echo "display_errors: " ; 153 153 echo ( ini_get( 'display_errors' )) ? "ON" : "OFF"; 154 154 echo "<br />\n"; 155 echo ' ' ."MB extension: " ;155 echo "MB extension: " ; 156 156 echo ( extension_loaded( 'mbstring' )) ? "ON" : "OFF"; 157 157 echo "<br />\n"; 158 echo ' ' ."mbstring.language: " ;158 echo "mbstring.language: " ; 159 159 echo ini_get( 'mbstring.language' ); 160 160 echo "<br />\n"; 161 echo ' ' ."mbstring.encoding_translation: " ;161 echo "mbstring.encoding_translation: " ; 162 162 echo ( ini_get( 'mbstring.encoding_translation' )) ? "ON" : "OFF"; 163 163 echo "<br />\n"; 164 echo ' ' ."mbstring.internal_encoding: " ;164 echo "mbstring.internal_encoding: " ; 165 165 echo ini_get( 'mbstring.internal_encoding' ); 166 166 echo "<br />\n"; 167 echo ' ' ."mbstring.http_input: " ;167 echo "mbstring.http_input: " ; 168 168 echo ini_get( 'mbstring.http_input' ); 169 169 echo "<br />\n"; 170 echo ' ' ."mbstring.http_output: " ;170 echo "mbstring.http_output: " ; 171 171 echo ini_get( 'mbstring.http_output' ); 172 172 echo "<br />\n"; 173 echo ' ' ."mbstring.detect_order: " ;173 echo "mbstring.detect_order: " ; 174 174 echo ini_get( 'mbstring.detect_order' ); 175 175 echo "<br />\n"; 176 echo ' ' ."mbstring.substitute_character: " ;176 echo "mbstring.substitute_character: " ; 177 177 echo ini_get( 'mbstring.substitute_character' ); 178 178 echo "<br />\n"; 179 echo ' ' ."mbstring.func_overload: " ;179 echo "mbstring.func_overload: " ; 180 180 echo ( ini_get( 'mbstring.func_overload' )) ? "ON" : "OFF"; 181 181 echo "<br />\n"; … … 256 256 if ($is_report) { 257 257 echo "******** " . _AM_XOOPS_CONFIG_INFO . "********" . "<br />\n"; 258 echo ' ' .'XOOPS_ROOT_PATH: ' ;258 echo 'XOOPS_ROOT_PATH: ' ; 259 259 if(XOOPS_ROOT_PATH !== $xoops_config->xoops_root_path) 260 260 echo 'ERROR '; … … 263 263 echo "<br />\n"; 264 264 265 echo ' ' .'XOOPS_TRUST_PATH: ' ;265 echo 'XOOPS_TRUST_PATH: ' ; 266 266 if(XOOPS_TRUST_PATH !== $xoops_config->xoops_trust_path) 267 267 echo 'ERROR '; … … 270 270 echo "<br />\n"; 271 271 272 echo ' ' .'XOOPS_URL: ' ;272 echo 'XOOPS_URL: ' ; 273 273 if(XOOPS_URL !== $xoops_config->xoops_url) 274 274 echo 'ERROR '; … … 278 278 279 279 if (defined('XOOPS_SALT')){ 280 echo ' ' .'XOOPS_SALT: ' ;280 echo 'XOOPS_SALT: ' ; 281 281 if(XOOPS_SALT !== $xoops_config->xoops_salt) 282 282 echo 'ERROR '; … … 287 287 288 288 if (defined('XOOPS_DB_SALT')){ 289 echo ' ' .'XOOPS_DB_SALT: ' ;289 echo 'XOOPS_DB_SALT: ' ; 290 290 if(XOOPS_DB_SALT !== $xoops_config->xoops_db_salt) 291 291 echo 'ERROR '; … … 295 295 } 296 296 297 echo ' ' .'XOOPS_DB_HOST: ' ;297 echo 'XOOPS_DB_HOST: ' ; 298 298 if(XOOPS_DB_HOST !== $xoops_config->xoops_db_host) 299 299 echo 'ERROR '; … … 302 302 echo "<br />\n"; 303 303 304 echo ' ' .'XOOPS_DB_USER: ' ;304 echo 'XOOPS_DB_USER: ' ; 305 305 if(XOOPS_DB_USER !== $xoops_config->xoops_db_user) 306 306 echo 'ERROR '; … … 309 309 echo "<br />\n"; 310 310 311 echo ' ' .'XOOPS_DB_PASS: ' ;311 echo 'XOOPS_DB_PASS: ' ; 312 312 if(XOOPS_DB_PASS !== $xoops_config->xoops_db_pass) 313 313 echo 'ERROR '; … … 316 316 echo "<br />\n"; 317 317 318 echo ' ' .'XOOPS_DB_NAME: ' ;318 echo 'XOOPS_DB_NAME: ' ; 319 319 if(XOOPS_DB_NAME !== $xoops_config->xoops_db_name) 320 320 echo 'ERROR '; … … 323 323 echo "<br />\n"; 324 324 325 echo ' ' .'XOOPS_DB_PREFIX: ' ;325 echo 'XOOPS_DB_PREFIX: ' ; 326 326 if(XOOPS_DB_PREFIX !== $xoops_config->xoops_db_prefix) 327 327 echo 'ERROR '; … … 473 473 if ($is_report){ 474 474 echo "******** " . _AM_XPRESS_STATS . "********" . "<br />\n"; 475 echo ' ' ._AM_XPRESS_CATEGORIES .": ".@$count_category. "<br />\n";476 echo ' ' ._AM_XPRESS_ARTICLES .": ". $count_article. "<br />\n";477 echo ' ' ._AM_XPRESS_AUTHORS .": ". $count_author. "<br />\n";475 echo _AM_XPRESS_CATEGORIES .": ".@$count_category. "<br />\n"; 476 echo _AM_XPRESS_ARTICLES .": ". $count_article. "<br />\n"; 477 echo _AM_XPRESS_AUTHORS .": ". $count_author. "<br />\n"; 478 478 479 479 } else {
Note: See TracChangeset
for help on using the changeset viewer.