2010-09-27 12:48:53 +02:00
|
|
|
<?
|
|
|
|
$xmla = simplexml_load_file('../db/todoist.xml');
|
|
|
|
if($xmla->token== '' || $xmla->token == null)
|
2010-09-27 16:37:14 +02:00
|
|
|
header('Location: install-todoist.php');
|
2010-09-27 12:48:53 +02:00
|
|
|
if($xmla->id != '' || $xmla->id != null):
|
|
|
|
$token = $xmla->token;
|
|
|
|
$id = $xmla->id;?>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="../js/getUncompletedTasks.php?token=<?=$token?>&id=<?=$id?>"></script>
|
|
|
|
<? else:
|
|
|
|
header('Location: getProjectsList.php');
|
|
|
|
endif;
|