highlight ver2.0
This commit is contained in:
		
							
								
								
									
										15
									
								
								Last_highlight/install.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								Last_highlight/install.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/*  Xiuno BBS 4.0 代码高亮 
 | 
			
		||||
	主题 折叠 其他
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
!defined('DEBUG') AND exit('Forbidden');
 | 
			
		||||
 | 
			
		||||
$setting = setting_get('Last_highlight');
 | 
			
		||||
if(empty($setting)) {
 | 
			
		||||
	$setting = array('view'=>'dark', 'fold'=>'on', 'other'=>'0');
 | 
			
		||||
	setting_set('Last_highlight', $setting);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
?>
 | 
			
		||||
		Reference in New Issue
	
	Block a user