faq_delete.php 444 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
<?php

// From and List definition files
$list_def_file = 'list/faq_list.php';
$tform_def_file = 'form/faq.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')) {
filip's avatar
filip committed
13
14
	header('Location: ../index.php');
	die;
15
16
17
18
19
20
21
}

// Load the form
$app->uses('tform_actions');
$app->tform_actions->onDelete();

?>