diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-01-06 00:59:45 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-01-06 00:59:45 +0100 |
commit | 11533544ca01c2c54899af0a00f2c062c1831433 (patch) | |
tree | cdd13f3a209618ddde3a6927a392590238a01a4c /apanel.pl | |
parent | eb0eab8fc6d0c89262daa80d199bb7091540943b (diff) | |
download | manatools-11533544ca01c2c54899af0a00f2c062c1831433.tar manatools-11533544ca01c2c54899af0a00f2c062c1831433.tar.gz manatools-11533544ca01c2c54899af0a00f2c062c1831433.tar.bz2 manatools-11533544ca01c2c54899af0a00f2c062c1831433.tar.xz manatools-11533544ca01c2c54899af0a00f2c062c1831433.zip |
- Added a Base class for modules.
- Now configuration can be read also int /etc/categories.conf.d/
so that external modules can add their own configuration to be launched and
added to admin panel
- perl modules can be run by extending Module class, creating a start()
method and configuring module entry in categories configuration as class element
- Admin User now extends Module
Diffstat (limited to 'apanel.pl')
-rwxr-xr-x | apanel.pl | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -43,10 +43,7 @@ while ($launch) { $mainWin->destroy(); undef($mainWin); - my $err = yui::YUI::app()->runInTerminal("$launch --ncurses"); - if ($err == -1) { - system($launch); - } + $launch->start(); $mainWin = new MainDisplay(); $launch = $mainWin->start(); |