Last change
on this file since 604 was
604,
checked in by Xuefer, 9 years ago
|
set svn:eol-style to native
|
-
Property svn:eol-style set to
native
|
File size:
432 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | include("./common.php"); |
---|
4 | |
---|
5 | if (!isset($_GET['name'])) { |
---|
6 | die("missing name"); |
---|
7 | } |
---|
8 | |
---|
9 | $name = $_GET['name']; |
---|
10 | // trigger auth |
---|
11 | $vcnt = xcache_count(XC_TYPE_VAR); |
---|
12 | |
---|
13 | if ($_SERVER['REQUEST_METHOD'] == 'POST') { |
---|
14 | xcache_set($name, $_POST['value']); |
---|
15 | header("Location: xcache.php?type=" . XC_TYPE_VAR); |
---|
16 | exit; |
---|
17 | } |
---|
18 | $value = xcache_get($name); |
---|
19 | |
---|
20 | $xcache_version = XCACHE_VERSION; |
---|
21 | $xcache_modules = XCACHE_MODULES; |
---|
22 | |
---|
23 | include("edit.tpl.php"); |
---|
24 | |
---|
25 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.