Skip to content

Commit

Permalink
Add softlink support for module processlists
Browse files Browse the repository at this point in the history
Make Process->load_modules() aware of softlinks, to enable custon
processes of external modules
  • Loading branch information
adminde committed Mar 22, 2017
1 parent 8fab935 commit 1460c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/process/process_model.php
Expand Up @@ -131,7 +131,7 @@ private function load_modules() {
$list = array();
$dir = scandir("Modules");
for ($i=2; $i<count($dir); $i++) {
if (filetype("Modules/".$dir[$i])=='dir') {
if (filetype("Modules/".$dir[$i])=='dir' || filetype("Modules/".$dir[$i])=='link') {
$class = $this->get_module_class($dir[$i]);
if ($class != null) {
$mod_process_list = $class->process_list();
Expand Down

0 comments on commit 1460c94

Please sign in to comment.