mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-26 23:35:02 +02:00
2009-09-03 Sacnho Lerena <slerena@artica.es>
* extensions/plugin_registration.php: Added two new parameter (pre command and post command to ini parsing). * general/header.php: Page looks ugly at 1024x because header width, fixed. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1912 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
a807d395e9
commit
1e4f5296b7
@ -1,3 +1,12 @@
|
|||||||
|
|
||||||
|
2009-09-03 Sacnho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
|
* extensions/plugin_registration.php: Added two new parameter
|
||||||
|
(pre command and post command to ini parsing).
|
||||||
|
|
||||||
|
* general/header.php: Page looks ugly at 1024x because header width,
|
||||||
|
fixed.
|
||||||
|
|
||||||
2009-09-02 Sancho Lerena <slerena@artica.es>
|
2009-09-02 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
* attachment/plugin: New directory to place console uploaded server
|
* attachment/plugin: New directory to place console uploaded server
|
||||||
|
@ -64,7 +64,18 @@ function pluginreg_extension_main () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$exec_path = $config["plugin_store"] . "/" . $ini_array["plugin_definition"]["filename"];
|
$exec_path = $config["plugin_store"] . "/" . $ini_array["plugin_definition"]["filename"];
|
||||||
if (!file_exists($exec_path)){
|
|
||||||
|
$file_exec_path = $exec_path;
|
||||||
|
|
||||||
|
if (isset($ini_array["plugin_definition"]["execution_command"]) && ($ini_array["plugin_definition"]["execution_command"] != "")){
|
||||||
|
$exec_path = $ini_array["plugin_definition"]["execution_command"] . " " . $config["plugin_store"] . "/" . $ini_array["plugin_definition"]["filename"];
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($ini_array["plugin_definition"]["execution_postcommand"]) && ($ini_array["plugin_definition"]["execution_postcommand"] != "")){
|
||||||
|
$exec_path = $exec_path . " " .$ini_array["plugin_definition"]["execution_postcommand"];
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!file_exists($file_exec_path)){
|
||||||
echo "<h2 class=error>".__("Plugin exec not found. Aborting!")."</h2>";
|
echo "<h2 class=error>".__("Plugin exec not found. Aborting!")."</h2>";
|
||||||
unlink ($config["attachment_store"] . "/plugin_definition.ini");
|
unlink ($config["attachment_store"] . "/plugin_definition.ini");
|
||||||
return;
|
return;
|
||||||
|
@ -91,7 +91,7 @@ require_once ("include/functions_messages.php");
|
|||||||
echo '</span>';
|
echo '</span>';
|
||||||
}
|
}
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
echo "<td width='20%' rowspan=2>";
|
echo "<td width='25%' rowspan=2>";
|
||||||
echo "<a href='index.php?sec=main'>";
|
echo "<a href='index.php?sec=main'>";
|
||||||
echo "<div id='head_r'><span id='logo_text1'>Pandora</span> <span id='logo_text2'>FMS</span></div>";
|
echo "<div id='head_r'><span id='logo_text1'>Pandora</span> <span id='logo_text2'>FMS</span></div>";
|
||||||
if (file_exists (ENTERPRISE_DIR."/load_enterprise.php"))
|
if (file_exists (ENTERPRISE_DIR."/load_enterprise.php"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user