Passed
Branch master (e6db98)
by Philip
01:48
created
Category
instagallery-editor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 $xml = simplexml_load_file('ig-data.xml');
3 3
 
4
-if (isset($_POST['gram'])){
4
+if (isset($_POST['gram'])) {
5 5
     $xml->addChild('instagram', $_POST['gram']);
6 6
     $xml->saveXML();
7 7
 
Please login to merge, or discard this patch.
instagallery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             <?php
62 62
             $i = 0;
63 63
             $xmlData = simplexml_load_file('ig-data.xml');
64
-            $grams   = array_reverse( json_decode( json_encode($xmlData->instagram) , 1));
64
+            $grams   = array_reverse(json_decode(json_encode($xmlData->instagram), 1));
65 65
             ?>
66 66
             </pre>
67 67
             <?php
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 
133 133
         <pre>
134 134
         <?php
135
-        if ($_SERVER['HTTP_HOST'] == 'localhost' || $_SERVER['HTTP_HOST'] == '127.0.0.1'){
135
+        if ($_SERVER['HTTP_HOST'] == 'localhost' || $_SERVER['HTTP_HOST'] == '127.0.0.1') {
136 136
             require_once ('instagallery-editor.php');
137 137
         }
138 138
         ?>
Please login to merge, or discard this patch.