فهرست منبع

Functions: Adjust view_array().

Nate 5 سال پیش
والد
کامیت
6f1f8d6393
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      resources/functions.php

+ 1 - 1
resources/functions.php

@@ -1927,7 +1927,7 @@ function number_pad($number,$n) {
 //output pre-formatted array keys and values
 //output pre-formatted array keys and values
 	if (!function_exists('view_array')) {
 	if (!function_exists('view_array')) {
 		function view_array($array, $exit = true) {
 		function view_array($array, $exit = true) {
-			echo '<br><pre>'.print_r($array, true).'</pre><br>';
+			echo "<br><pre style='text-align: left;'>".print_r($array, true).'</pre><br>';
 			$exit and exit();
 			$exit and exit();
 		}
 		}
 	}
 	}