Commit e956aca5 authored by Marius Cramer's avatar Marius Cramer

- patches for some errors

parent 0b45705b
......@@ -74,7 +74,7 @@ foreach($files as $f) {
unset($cronjob);
continue;
}
print 'Included ' . $class_name . ' from ' . $file_path . ' -> will now run job.' . "\n";
print 'Included ' . $class_name . ' from ' . $path . '/' . $f . ' -> will now run job.' . "\n";
$cronjob->run();
......
......@@ -2365,7 +2365,7 @@ class nginx_plugin {
} elseif($data['new']['php'] != 'hhvm' && $data['old']['php'] == 'hhvm') {
exec('/etc/init.d/hhvm_' . $data['old']['system_user'] . ' stop >/dev/null 2>&1');
exec('/usr/sbin/update-rc.d hhvm_' . $data['old']['system_user'] . ' remove >/dev/null 2>&1');
unlink('/etc/init.d/hhvm_' . $data['old']['system_user'] . ' >/dev/null 2>&1');
unlink('/etc/init.d/hhvm_' . $data['old']['system_user']);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment