[prev in list] [next in list] [prev in thread] [next in thread]
List: os-sim-commits
Subject: [Os-sim-commits] os-sim/include/panel Ajax_Panel.php,1.10,1.11
From: "Tomas V.V.Cox" <tvvcox () users ! sourceforge ! net>
Date: 2006-05-31 9:04:36
Message-ID: E1FlMd2-0007Wv-Vn () mail ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/os-sim/os-sim/include/panel
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4715/include/panel
Modified Files:
Ajax_Panel.php
Log Message:
Minor fixes for plain new configurations
Index: Ajax_Panel.php
===================================================================
RCS file: /cvsroot/os-sim/os-sim/include/panel/Ajax_Panel.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Ajax_Panel.php 30 May 2006 15:29:52 -0000 1.10
+++ Ajax_Panel.php 31 May 2006 09:04:34 -0000 1.11
@@ -51,7 +51,10 @@
{
$conf = &$GLOBALS['conf'];
$plugins_dir = array();
- $plugins_dir = preg_split('/\s*,\s*/', \
$conf->get_conf('panel_plugins_dir')); + $extra_plugins = \
$conf->get_conf('panel_plugins_dir'); + if ($extra_plugins) {
+ $plugins_dir = preg_split('/\s*,\s*/', $extra_plugins);
+ }
$plugins_dir[] = dirname(__FILE__).'/plugins';
$plugins = array();
foreach ($plugins_dir as $dir) {
@@ -106,10 +109,11 @@
"# mkdir -p $configs_dir<br>".
"# chown $user:$group $configs_dir<br>".
"# chmod 0700 $configs_dir";
- $fix_cmd .= "<br><b>"._("You can configure the panel configs directory at \
'Configuration -> Main -> Executive Panel -> panel_configs_dir''").'</b>'; + \
$fix_extra = "<br><b>"._("You can configure the panel configs directory at \
'Configuration -> Main -> Executive Panel -> panel_configs_dir''").'</b>'; if \
(!is_dir($configs_dir)) {
- die(_("Directory for panel config files does not exists").$fix_cmd);
+ die(_("Directory for panel config files does not exists.").$fix_extra);
}
+ $fix_cmd .= $fix_extra;
if (!$stat = stat($configs_dir)) {
die(_("Could not stat configs dir").$fix_cmd);
}
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Os-sim-commits mailing list
Os-sim-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/os-sim-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic