mirror of
				https://gitlab.com/ruany/litebans-php.git
				synced 2025-10-30 22:42:25 +00:00 
			
		
		
		
	Add debug_mode
This commit is contained in:
		
							parent
							
								
									0231f52523
								
							
						
					
					
						commit
						9146b9a0d8
					
				| @ -254,6 +254,9 @@ class Page { | ||||
|     } | ||||
| 
 | ||||
|     function print_table_rows($row, $array) { | ||||
|         if ($this->settings->debug_mode > 0) { | ||||
|             var_dump($row); | ||||
|         } | ||||
|         $id = $row['id']; | ||||
|         $type = $this->type; | ||||
|         echo "<tr>"; | ||||
|  | ||||
| @ -63,6 +63,7 @@ final class Settings { | ||||
|         $this->date_format = 'F j, Y, g:i A'; | ||||
|         date_default_timezone_set("UTC"); | ||||
| 
 | ||||
|         $this->debug_mode = 0; | ||||
| 
 | ||||
|         /*** End of configuration ***/ | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ruan
						ruan