mirror of
				https://github.com/slawkens/myaac.git
				synced 2025-10-30 15:36:24 +01:00 
			
		
		
		
	 9d664d3577
			
		
	
	9d664d3577
	
	
	
		
			
			* Part 1 Removing closing tags when no HTML or other output comes after the last PHP codeblock. * Further removals * nothing --------- Co-authored-by: slawkens <slawkens@gmail.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			426 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			426 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| // add new forum.guild and forum.access fields
 | |
| if(!$db->hasColumn(TABLE_PREFIX . 'forum_boards', 'guild')) {
 | |
| 	$db->query("ALTER TABLE `" . TABLE_PREFIX . "forum_boards` ADD `guild` TINYINT(1) NOT NULL DEFAULT 0 AFTER `closed`;");
 | |
| }
 | |
| 
 | |
| if(!$db->hasColumn(TABLE_PREFIX . 'forum_boards', 'access')) {
 | |
| 	$db->query("ALTER TABLE `" . TABLE_PREFIX . "forum_boards` ADD `access` TINYINT(1) NOT NULL DEFAULT 0 AFTER `guild`;");
 | |
| }
 |