[evolvis-commits] r12613: Apply patch [#5593] sys_plugins_path with no trailing /, sys_var_path != /var/lib/gforge, cronjob warnings (once more)
mirabilos at evolvis.org
mirabilos at evolvis.org
Mon Feb 28 01:50:03 CET 2011
Author: mirabilos
Date: 2011-02-28 01:50:03 +0100 (Mon, 28 Feb 2011)
New Revision: 12613
Modified:
trunk/gforge_base/evolvisforge-5.1/gforge/common/include/PluginManager.class.php
Log:
Apply patch [#5593] sys_plugins_path with no trailing /, sys_var_path != /var/lib/gforge, cronjob warnings (once more)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/common/include/PluginManager.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/common/include/PluginManager.class.php 2011-02-28 00:49:56 UTC (rev 12612)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/common/include/PluginManager.class.php 2011-02-28 00:50:03 UTC (rev 12613)
@@ -96,11 +96,11 @@
$plugins_data = $this->GetPlugins() ;
$include_path = $GLOBALS['sys_plugins_path'] ;
- $filename = $include_path . $p_name . "/common/".$p_name."-init.php" ;
+ $filename = $include_path . '/'. $p_name . "/common/".$p_name."-init.php" ;
if (file_exists ($filename)) {
require_once ($filename) ;
} else { //if we didn't found it in common/ it may be an old plugin that has it's files in include/
- $filename = $include_path . $p_name . "/include/".$p_name."-init.php" ;
+ $filename = $include_path . '/' . $p_name . "/include/".$p_name."-init.php" ;
if (file_exists ($filename)) {
require_once ($filename) ;
} else {
More information about the evolvis-commits
mailing list