Don't use short open tags for PHP as they are not turned on by default in production environments.
This commit is contained in:
		
							parent
							
								
									e2516fa5cf
								
							
						
					
					
						commit
						2df54b911a
					
				| @ -1,4 +1,4 @@ | ||||
| <? | ||||
| <?php | ||||
| error_reporting(E_ALL); | ||||
| $kioskMode = false; | ||||
| 
 | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| <? | ||||
| <?php | ||||
| 	include 'ajax.php';  | ||||
| ?>
 | ||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||||
| @ -33,7 +33,7 @@ | ||||
| 						<span id="login-loading">Loading...</span> | ||||
| 					</form> | ||||
| 				</div> | ||||
| 				<? | ||||
| 				<?php | ||||
| 					if (loggedIn()) echo cp(); | ||||
| 				?>
 | ||||
| 			</div> | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| <? | ||||
| <?php | ||||
| 	$null = null; | ||||
| 	include 'php/filestorage.class.php'; | ||||
| 	include 'preferences.php'; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| <? | ||||
| <?php | ||||
| 	class AjaxCall { | ||||
| 		function AjaxCall($log = null) { | ||||
| 			header('Content-type: application/json'); | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| <? | ||||
| <?php | ||||
| 
 | ||||
| class FileStorage { | ||||
| 
 | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| <? | ||||
| <?php | ||||
| 
 | ||||
| 	function cookie($name, $data) { | ||||
| 		return setcookie($name, $data, time() + 60 * 60 * 24 * 30, '/'); | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| <? | ||||
| <?php | ||||
| 
 | ||||
| class YShout { | ||||
| 
 | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| <? | ||||
| <?php | ||||
| 	// If you want to change the nickname, the line below is the one to modify.
 | ||||
| 	// Simply set $overrideNickname to whatever variable you want to appear as the nickname,
 | ||||
| 	// or leave it null to use the set nicknames.
 | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| <? | ||||
| <?php | ||||
| error_reporting(E_ALL); | ||||
| ob_start(); | ||||
| set_error_handler('errorOccurred'); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user