Use the constant ... better
This commit is contained in:
		
							parent
							
								
									3c4e809939
								
							
						
					
					
						commit
						dc2cfe5160
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -218,7 +218,7 @@ class JSONRenderer | ||||||
|             $out ["containsBook"] = 1; |             $out ["containsBook"] = 1; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         $out["abouturl"] = "index.php" . addURLParameter ("?page=16", DB, $database); |         $out["abouturl"] = "index.php" . addURLParameter ("?page=" . Base::PAGE_ABOUT, DB, $database); | ||||||
| 
 | 
 | ||||||
|         if ($page == Base::PAGE_ABOUT) { |         if ($page == Base::PAGE_ABOUT) { | ||||||
|             $temp = preg_replace ("/\<h1\>About COPS\<\/h1\>/", "<h1>About COPS " . VERSION . "</h1>", file_get_contents('about.html')); |             $temp = preg_replace ("/\<h1\>About COPS\<\/h1\>/", "<h1>About COPS " . VERSION . "</h1>", file_get_contents('about.html')); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue