#2368 - Composr 10b5: Saving changes to a zone (NOT zone editor) results in an error This is a spacer post for a website comment topic. The content this topic relates to: #2368 - Composr 10b5: Saving changes to a zone (NOT zone editor) results in an error By Guest posted 3rd Apr 2016, 2:29 PM Do not fill this field in. This is the change... diff --git a/sources/zones2.php b/sources/zones2.php index 10342c9..d6ffb57 100644 --- a/sources/zones2.php +++ b/sources/zones2.php @@ -247,8 +247,8 @@ function save_zone_base_url($zone, $base_url) fwrite($out, $config_file); @flock($out, LOCK_UN); fclose($out); - sync_file($path); - fix_permissions($path); + sync_file($config_path); + fix_permissions($config_path); } } You have an override though. By Guest, By Guest, posted 4th Apr 2016, 12:52 AM Hmm not sure why the upgrader from beta4 to beta5 did not tell me about that. Thanks Chris! 0 guests and 0 members have recently viewed this. Sort: Relevance Newest first Oldest first Rating Popularity
diff --git a/sources/zones2.php b/sources/zones2.php
index 10342c9..d6ffb57 100644
--- a/sources/zones2.php
+++ b/sources/zones2.php
@@ -247,8 +247,8 @@ function save_zone_base_url($zone, $base_url)
fwrite($out, $config_file);
@flock($out, LOCK_UN);
fclose($out);
- sync_file($path);
- fix_permissions($path);
+ sync_file($config_path);
+ fix_permissions($config_path);
}
}
You have an override though.