Normalized <?php headers for modern setups
authorJean-Michel Vourgère <jvourger@greenpeace.org>
Thu, 23 Feb 2017 16:29:12 +0000 (05:29 +1300)
committerJean-Michel Vourgère <jvourger@greenpeace.org>
Thu, 23 Feb 2017 16:29:12 +0000 (05:29 +1300)
include/connect.inc.php.example
index.php
squasher.class.php
squasher.php

index ec6cff903e1a621f37fcad3acf73bd35b8c3187f..583058fca24a8b5c2f10a38be5faf9c6a0710e33 100644 (file)
@@ -1,4 +1,4 @@
-<?\r
+<?php\r
 \r
 // start session\r
 session_start();\r
index 04222778344b72ccb662d1bfb6e171162caaac33..429eefb301c0c3f8816544c00ede5b4912077ab0 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,4 +1,4 @@
-<?
+<?php
 
 require_once("include/connect.inc.php");
 
@@ -49,4 +49,4 @@ $smarty->assign('debug',$debug);
 $smarty->display('login.tpl');
 
 }
-?>
\ No newline at end of file
+?>
index c2f2eb90c541c0d8ce4fff9f1d17a163e34078a9..4e3a4cf1c530bfc31f3418ed8b3fe26b6165ec5e 100644 (file)
@@ -1,4 +1,4 @@
-<?PHP
+<?php
 require_once("include/connect.inc.php");
 
 function zfill($n,$a) {
index 9cc4bd08382daea451f76c35871cd6e249ae505f..f8471ba158ce509b2791724f0f2bb4a83cf19464 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 if (!$_SESSION[creds][validated] && !isset($_GET['f']))exit();
 
 require_once("squasher.class.php");