mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
19 lines
952 B
Plaintext
19 lines
952 B
Plaintext
$NetBSD: patch-ag,v 1.1 2009/07/25 19:33:46 schmonz Exp $
|
|
|
|
--- include/setup.php.orig 2009-05-10 07:19:20.000000000 -0400
|
|
+++ include/setup.php
|
|
@@ -316,10 +316,10 @@ $extGeshi = array
|
|
require 'languages/english.php';
|
|
|
|
// Get the user's personalised config (requires the locwebsvnhttp stuff above)
|
|
-if (file_exists(dirname(__FILE__).DIRECTORY_SEPARATOR.'config.php')) {
|
|
- require_once 'config.php';
|
|
+if (file_exists('@PKG_SYSCONFDIR@'.DIRECTORY_SEPARATOR.'websvn.conf')) {
|
|
+ require_once '@PKG_SYSCONFDIR@'.DIRECTORY_SEPARATOR.'websvn.conf';
|
|
} else {
|
|
- die('File "includes'.DIRECTORY_SEPARATOR.'config.php" does not exists, please create one. The example is located under "includes'.DIRECTORY_SEPARATOR.'distconfig.php"');
|
|
+ die('File "@PKG_SYSCONFDIR@'.DIRECTORY_SEPARATOR.'websvn.conf" does not exists, please create one. The example is located under "@EGDIR@'.DIRECTORY_SEPARATOR.'distconfig.php"');
|
|
}
|
|
|
|
require_once 'include/svnlook.php';
|