diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php
index 82cd2dac8cf62f6953d6b713fab970553d0adbbc..d5e908f498b52ea5ad28123f361a9a65f15dc9de 100644
--- a/install/lib/installer_base.lib.php
+++ b/install/lib/installer_base.lib.php
@@ -1074,7 +1074,7 @@ class installer_base {
 
 
 	public function configure_pureftpd() {
-		global $conf;
+		global $conf, $inst;
 
 		$config_dir = $conf['pureftpd']['config_dir'];