Skip to content
Snippets Groups Projects
Commit 0186be6a authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

another take on inclusion of errorhandler in CLI scripts

parent d1bfb86f
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,10 @@
return;
}
if (!isset($options['daemon'])) {
require_once "errorhandler.php";
}
if (!isset($options['update-schema'])) {
$schema_version = get_schema_version($link);
......
......@@ -256,6 +256,8 @@
if (!init_connection($link)) return;
require_once "errorhandler.php";
// We disable stamp file, since it is of no use in a multiprocess update.
// not really, tho for the time being -fox
if (!make_stampfile('update_daemon.stamp')) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment