Sergio Cambra
2014-07-07 7d0827f13e9d3eb1723f9313e9e8d0df20574876
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
 
// From and List definition files
$list_def_file = 'list/faq_sections_list.php';
$tform_def_file = 'form/faq_sections.tform.php';
 
// Include the base libraries
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
 
// Check module permissions
if(!stristr($_SESSION['s']['user']['modules'], 'help')) {
    header('Location: ../index.php');
    die;
}
 
// Load the form
$app->uses('tform_actions');
$app->tform_actions->onDelete();
 
?>