You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@petzsch' suggestion solved this problem for me. It'd be better to have the set_timezone function in an accessible place (i.e., where an active session is not required) to avoid code duplication, but apart from that I think this is the way forward.
Here my proposed changes that work for me:
add:
require_once("inc/toolkit.inc.php");
remove:
require('inc/config.inc.php');
require('inc/database.inc.php');
below these lines:
$update_result = $db->query($update_query);
$was_updated = true;
add:
update_soa_serial($zone["domain_id"]);
The text was updated successfully, but these errors were encountered: