Skip to content

Commit 1509ea6

Browse files
committed
Update control_modules.class.php
1 parent bb20425 commit 1509ea6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

modules/control_modules/control_modules.class.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,8 @@ function install($parent_name = "")
265265
echo 'Installing ' . $lst[$i]['FILENAME'] . " ...";
266266
}
267267
DebMes('Installing ' . $lst[$i]['FILENAME'] . " ...", 'reinstall');
268-
//$url = BASE_URL . '/module/' . $lst[$i]['FILENAME'] . '.html';
269-
//$data = getURL($url);
270-
$data = callAPI('/api/module/'.$lst[$i]['FILENAME']);
271-
268+
$url = BASE_URL . '/api.php/module/'.$lst[$i]['FILENAME'];
269+
$data = getURL($url);
272270
/*
273271
include_once(DIR_MODULES . $lst[$i]['FILENAME'] . "/" . $lst[$i]['FILENAME'] . ".class.php");
274272
$obj = "\$object$i";

0 commit comments

Comments
 (0)