You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
267 B
PHTML
8 lines
267 B
PHTML
9 years ago
|
<?php
|
||
|
|
||
|
function update_setting($key, $value, $hesk_settings) {
|
||
|
$sql = "UPDATE `" . hesk_dbEscape($hesk_settings['db_pfix']) . "settings` SET
|
||
|
`Value` = '" . hesk_dbEscape($value) . "' WHERE `Key` = '" . hesk_dbEscape($key) . "'";
|
||
|
|
||
|
hesk_dbQuery($sql);
|
||
|
}
|