Change <? to <?php and add some formatting
This commit is contained in:
@@ -1,3 +1 @@
|
||||
<?
|
||||
$xmla = simplexml_load_file('../db/todoist.xml');
|
||||
if($xmla->token== '' || $xmla->token == null)
|
||||
<?php
|
@@ -1,12 +1 @@
|
||||
<?
|
||||
|
||||
$xmla = simplexml_load_file('../db/todoist.xml');
|
||||
|
||||
if($xmla->token== '' || $xmla->token == null)
|
||||
|
||||
header('Location: install-todoist.php');
|
||||
|
||||
if($xmla->id != '' || $xmla->id != null):
|
||||
|
||||
$token = $xmla->token;
|
||||
|
||||
<?php
|
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$xmla = simplexml_load_file('../db/todoist.xml');
|
||||
if($xmla->token == '' || $xmla->token == null):?>
|
||||
<html>
|
||||
@@ -18,7 +18,7 @@ if($xmla->token == '' || $xmla->token == null):?>
|
||||
</fieldset>
|
||||
</body>
|
||||
</html>
|
||||
<?
|
||||
<?php
|
||||
else:
|
||||
header('Location: getProjectsList.php');
|
||||
endif;
|
||||
|
Reference in New Issue
Block a user