blob: 5146e3d01632dccc02c0bf0a8152aa6342769827 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
require_once( dirname(__FILE__) . "/../../lib/functions.php");
if (!valid_login()) {
need_login();
}
if (!empty($_GET['object']) && !empty($_GET['action'])) {
if (function_exists($_GET['object'] . '_' . $_GET['action'])) {
call_user_func_array($_GET['object'] . '_' . $_GET['action']);
} elseif (file_exists(dirname(__FILE__) . "/../../lib/actions/" . $_GET['object'] . '_' . $_GET['action'] . ".php")) {
require_once(dirname(__FILE__) . "/../../lib/actions/" . $_GET['object'] . '_' . $_GET['action'] . ".php");
}
}
?>
|