php require_once _SERVER DOCUMENT_ROOT lib Smarty init php Tasks _temp

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
<?php
require_once $_SERVER['DOCUMENT_ROOT'].'/lib/Smarty/init.php';
// Tasks
$_template = 'tasks/index.tpl';
require_once DOCUMENTROOT.'lib/includes/Tasks.php';
$_context['Tasks'] = getTasks();
createTasks();
require_once $_SERVER['DOCUMENT_ROOT'].'/lib/Smarty/display.php';
?>