diff --git a/bureau/class/m_dom.php b/bureau/class/m_dom.php index 58755dcc..12346c17 100644 --- a/bureau/class/m_dom.php +++ b/bureau/class/m_dom.php @@ -1904,6 +1904,7 @@ class m_dom { * so that apache & bind could do their job */ function update_domains() { + global $db, $hooks; if (posix_getuid()!=0) { echo "FATAL: please lauch me as root\n"; exit(); diff --git a/install/upgrades/3.5.0.2.php b/install/upgrades/3.5.0.2.php index 4395db26..22c83c15 100644 --- a/install/upgrades/3.5.0.2.php +++ b/install/upgrades/3.5.0.2.php @@ -1,3 +1,4 @@ +#!/usr/bin/php -q