Index: trunk/htdocs/cacher/edit.php
===================================================================
--- trunk/htdocs/cacher/edit.php	(revision 1142)
+++ trunk/htdocs/cacher/edit.php	(revision 1144)
@@ -13,5 +13,5 @@
 if ($_SERVER['REQUEST_METHOD'] == 'POST') {
 	if (!empty($config['enable_eval'])) {
-		eval('$value = ' . $_POST['value']);
+		eval('$value = ' . $_POST['value'] . ';');
 	}
 	else {
@@ -19,5 +19,5 @@
 	}
 	xcache_set($name, $value);
-	header("Location: xcache.php?type=" . XC_TYPE_VAR);
+	header("Location: ./?do=listvar");
 	exit;
 }
