aboutsummaryrefslogtreecommitdiffstats
path: root/apanel.pl
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-01-06 00:59:45 +0100
committerAngelo Naselli <anaselli@linux.it>2014-01-06 00:59:45 +0100
commit11533544ca01c2c54899af0a00f2c062c1831433 (patch)
treecdd13f3a209618ddde3a6927a392590238a01a4c /apanel.pl
parenteb0eab8fc6d0c89262daa80d199bb7091540943b (diff)
downloadmanatools-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-xapanel.pl5
1 files changed, 1 insertions, 4 deletions
diff --git a/apanel.pl b/apanel.pl
index c6148c73..e2042dad 100755
--- a/apanel.pl
+++ b/apanel.pl
@@ -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();