summaryrefslogtreecommitdiffstats
path: root/modules-available/dozmod/api.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/dozmod/api.inc.php')
-rw-r--r--modules-available/dozmod/api.inc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules-available/dozmod/api.inc.php b/modules-available/dozmod/api.inc.php
index 6ff52c14..52c8dcfb 100644
--- a/modules-available/dozmod/api.inc.php
+++ b/modules-available/dozmod/api.inc.php
@@ -9,7 +9,10 @@
*
**/
-require 'modules/locations/inc/location.inc.php';
+
+if (!Module::isAvailable('locations')) {
+ die('require locations module');
+}
define('LIST_URL', CONFIG_DOZMOD . '/vmchooser/list');