Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: bbadf44527
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (47 sloc) 2.407 kb
diff -up gosa-combined-2.6.10/include/class_config.inc.02 gosa-combined-2.6.10/include/class_config.inc
--- gosa-combined-2.6.10/include/class_config.inc.02 2010-02-05 14:51:35.000000000 +0100
+++ gosa-combined-2.6.10/include/class_config.inc 2010-05-24 08:21:41.371435389 +0200
@@ -100,12 +100,12 @@ class config {
if we have installed or removed plugins.
*/
if(session::global_is_set("class_location.inc:timestamp")){
- $tmp = stat("../include/class_location.inc");
+ $tmp = $tmp = stat("/var/cache/gosa/class.cache");
if($tmp['mtime'] != session::global_get("class_location.inc:timestamp")){
session::global_un_set("plist");
}
}
- $tmp = stat("../include/class_location.inc");
+ $tmp = stat("/var/cache/gosa/class.cache");
session::global_set("class_location.inc:timestamp",$tmp['mtime']);
if($this->filename != "" && filemtime($this->filename) != $this->last_modified){
diff -up gosa-combined-2.6.10/include/functions.inc.02 gosa-combined-2.6.10/include/functions.inc
--- gosa-combined-2.6.10/include/functions.inc.02 2010-05-24 08:21:17.523295153 +0200
+++ gosa-combined-2.6.10/include/functions.inc 2010-05-24 08:21:41.370670350 +0200
@@ -73,7 +73,7 @@ $svn_path = '$HeadURL: https://oss.gonic
$svn_revision = '$Revision: 17589 $';
/* Include required files */
-require_once("class_location.inc");
+require_once("/var/cache/gosa/class.cache");
require_once ("functions_debug.inc");
require_once ("accept-to-gettext.inc");
diff -up gosa-combined-2.6.10/update-gosa.02 gosa-combined-2.6.10/update-gosa
--- gosa-combined-2.6.10/update-gosa.02 2008-06-10 09:56:22.000000000 +0200
+++ gosa-combined-2.6.10/update-gosa 2010-05-24 08:21:41.370670350 +0200
@@ -21,7 +21,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-define ("GOSA_HOME", dirname(__FILE__));
+define ("GOSA_HOME", "/usr/share/gosa");
define ("LOCALE_DIR", GOSA_HOME."/locale");
define ("PLUGSTATE_DIR", GOSA_HOME."/state");
@@ -122,8 +122,8 @@ function get_classes($folder= ".")
function rescan_classes()
{
echo "Updating class cache...\n";
- $class_mapping= get_classes();
- $filename= GOSA_HOME."/include/class_location.inc";
+ $class_mapping= get_classes("/usr/share/gosa");
+ $filename= "/var/cache/gosa/class.cache";
/* Sanity checks */
if (!file_exists($filename) || is_writable($filename)) {
Jump to Line
Something went wrong with that request. Please try again.