diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/center.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/center.php b/test/center.php index 846ca2b64..e0cd8c8b6 100644 --- a/test/center.php +++ b/test/center.php @@ -1,7 +1,16 @@ <?php +$err_1 = error_reporting(); +$const_1 = get_defined_constants(true); +if (!isset($const_1['user'])) { $const_1['user'] = array(); } +$const_1 = $const_1['user']; + define('HLANG', true); define('ALIGNMENT', 'Center'); require '../langs.php'; +$err_2 = error_reporting(); +$const_2 = get_defined_constants(true); +$const_2 = $const_2['user']; +$const_2['G_APP_ROOT'] = ''; ?><!DOCTYPE html> <html lang="<?php echo $locale; ?>" dir="ltr"> <head> @@ -20,6 +29,14 @@ require '../langs.php'; <div class="para donate" style="padding-top: 2em;"> <h2><?php _g('Center Alignment page')?></h2> <p><?php _g('Center Alignment, Center Alignment, Center Alignment...')?></p> + <pre><?php + echo "default server error_reporting: $err_1"; + echo ' '. decbin($err_1) . "\n"; + echo " after ini_set error_reporting: $err_2"; + echo ' '. decbin($err_2) . "\n\n"; + print_r($const_1); + print_r($const_2); + ?></pre> </div> </div> </div> |