HEX
Server: Apache/2.4.57 (Unix) OpenSSL/1.1.1k
System: Linux server.eshhar.net 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
User: xdas (1048)
PHP: 7.4.33
Disabled: mail,sendmail
Upload Files
File: //usr/local/src/xcache-3.2.0/htdocs/cacher/edit.tpl.php
<?php include "../common/header.tpl.php"; ?>
<?php
$h_name = htmlspecialchars(var_export($name, true));
$h_value = htmlspecialchars($value);
?>
<form method="post" action="">
	<fieldset>
		<legend><?php echo sprintf(_T("Editing Variable %s"), $h_name); ?></legend>
		<textarea name="value" style="width: 100%; height: 200px; overflow-y: auto" <?php echo $editable ? "" : "disabled=disabled"; ?>><?php echo $h_value; ?></textarea><br>
		<input type="submit" <?php echo $editable ? "" : "disabled=disabled"; ?>>
		<?php
		if (!$editable) {
			echo sprintf(_T("Set %s in config to enable"), "\$config['enable_eval'] = true");
		}
		?>
	</fieldset>
</form>
<?php include "../common/footer.tpl.php"; ?>