Subversion Repositories Applications.papyrus

Rev

Rev 1688 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
448 ddelon 1
<?php
2
// An even simpler version of the index page than version 1. All the actual work of
3
// determining what needs to be included and what needs to be run is now in the main class.
4
// Also, 'register_globals' doesn't need to be 'on' anymore.
5
 
6
require_once("ezmlm.php");
7
 
8
$ezmlm = new ezmlm_php();
9
 
10
$action = ($_POST['action'] ? $_POST['action'] : ($_GET['action'] ? $_GET['action'] : "list_info"));
11
$actionargs = ($_POST['actionargs'] ? $_POST['actionargs'] : ($_GET['actionargs'] ? $_GET['actionargs'] : ""));
12
 
13
$ezmlm->set_action($action);
14
$ezmlm->set_actionargs($actionargs);
15
$ezmlm->run();
16
 
17
unset($ezmlm);
18
 
19
?>