Blob Blame History Raw
diff -Naur websvn-2.3.3.orig/include/svnlook.php websvn-2.3.3/include/svnlook.php
--- websvn-2.3.3.orig/include/svnlook.php	2011-06-27 11:12:51.000000000 +0200
+++ websvn-2.3.3/include/svnlook.php	2011-06-28 21:36:43.000000000 +0200
@@ -752,7 +752,7 @@
 		foreach ($extGeshi as $language => $extensions) {
 			if (in_array($filename, $extensions) || in_array($ext, $extensions)) {
 				if ($this->geshi === null) {
-					require_once 'lib/geshi.php';
+					require_once 'geshi.php';
 					$this->geshi = new GeSHi();
 				} else {
 					$this->geshi->error = false;
@@ -796,7 +796,7 @@
 
 		$source = file_get_contents($filename);
 		if ($this->geshi === null) {
-			require_once 'lib/geshi.php';
+			require_once 'geshi.php';
 			$this->geshi = new GeSHi();
 		}
 		$this->geshi->set_source($source);
diff -Naur websvn-2.3.3.orig/wsvn.php websvn-2.3.3/wsvn.php
--- websvn-2.3.3.orig/wsvn.php	2011-06-28 21:35:45.000000000 +0200
+++ websvn-2.3.3/wsvn.php	2011-06-28 21:36:43.000000000 +0200
@@ -45,7 +45,7 @@
 	define('WSVN_MULTIVIEWS', 1);
 }
 
-ini_set('include_path', $locwebsvnreal);
+ini_set('include_path', ini_get('include_path').":".$locwebsvnreal);
 
 require_once 'include/setup.php';
 require_once 'include/svnlook.php';