Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 6c9f63aebc44bc7f22f9eba6f7442bce > files > 1

websvn-2.3.1-2.fc13.src.rpm

diff -Naur websvn-2.3.1.orig/include/svnlook.php websvn-2.3.1/include/svnlook.php
--- websvn-2.3.1.orig/include/svnlook.php	2010-06-14 22:02:31.026951493 +0200
+++ websvn-2.3.1/include/svnlook.php	2010-06-14 22:04:28.214951302 +0200
@@ -629,7 +629,7 @@
 		foreach ($extGeshi as $language => $extensions) {
 			if (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;
@@ -673,7 +673,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.1.orig/wsvn.php websvn-2.3.1/wsvn.php
--- websvn-2.3.1.orig/wsvn.php	2010-06-14 22:02:31.036951097 +0200
+++ websvn-2.3.1/wsvn.php	2010-06-14 22:06:44.534701620 +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';