]> git.pld-linux.org Git - packages/SourceForge.git/blame - SourceForge-PLD.patch
- tabs in preamble
[packages/SourceForge.git] / SourceForge-PLD.patch
CommitLineData
a6ce62a7
SZ
1diff -Naur SF2.0/backend/include.pl SF2.0-p/backend/include.pl
2--- SF2.0/backend/include.pl Thu Sep 7 23:37:53 2000
3+++ SF2.0-p/backend/include.pl Tue Sep 19 20:56:39 2000
4@@ -10,7 +10,7 @@
5 ########################
6 # global configuration #
7 ########################
8-$config{'database_include'} = '/etc/local.inc'; # database include file
9+$config{'database_include'} = '/etc/SourceForge/local.inc'; # database include file
10 $config{'lock_file'} = '/tmp/sf-backend'; # lockfile location
11 $config{'log_file'} = '/home/dummy/backend.log'; # logfile location
12 $config{'group_dir_prefix'} = '/home/groups'; # prefix for group directories
a6ce62a7
SZ
13diff -Naur SF2.0/docs/Install_Guide.html SF2.0-p/docs/Install_Guide.html
14--- SF2.0/docs/Install_Guide.html Thu Sep 7 23:37:52 2000
15+++ SF2.0-p/docs/Install_Guide.html Tue Sep 19 20:55:26 2000
16@@ -166,7 +166,7 @@
17
18 b) You see an error message like this:
19
20- Fatal error: Failed opening required '/etc/local.inc' in database.php on line 11
21+ Fatal error: Failed opening required '/etc/SourceForge/local.inc' in database.php on line 11
22
23 In either cases it means that the pre.php file was found and that the include
24 path is correct.
25@@ -174,22 +174,8 @@
26 -------------------------------------------------------------------------------
27 Configuring SourceForge
28
29-1) Create the /etc/local.inc file with the following:
30-
31- <?php
32-
33- $sys_dbhost="your_db_host_name";
34- $sys_dbname = "sourceforge";
35- $sys_dbuser="user_name";
36- $sys_dbpasswd="your_password";
37- $sys_server="mysql";
38-
39- //
40- // With a trailing /
41- //
42- $sys_urlroot="/path/to/www/doc/root/";
43- $sys_name="web1";
44- ?>
45+1) Create the /etc/SourceForge/local.inc depending on supplied
46+example file. All variable names should be self-explanatory.
47
48 2) Look at the home page http://localhost/
49 It should display well.
50diff -Naur SF2.0/utils/include.pl SF2.0-p/utils/include.pl
51--- SF2.0/utils/include.pl Thu Sep 7 23:37:52 2000
52+++ SF2.0-p/utils/include.pl Tue Sep 19 20:55:37 2000
53@@ -8,7 +8,7 @@
54 ##############################
55 # Global Variables
56 ##############################
57-$db_include = "/etc/local.inc"; # Local Include file for database username and password
58+$db_include = "/etc/SourceForge/local.inc"; # Local Include file for database username and password
59 $tar_dir = "/tmp"; # Place to put deleted user's accounts
60 $uid_add = "20000"; # How much to add to the database uid to get the unix uid
61 $gid_add = "1000"; # How much to add to the database gid to get the unix uid
62diff -Naur SF2.0/www/include/pre.php SF2.0-p/www/include/pre.php
63--- SF2.0/www/include/pre.php Thu Sep 7 23:37:53 2000
64+++ SF2.0-p/www/include/pre.php Tue Sep 19 20:55:48 2000
65@@ -12,7 +12,7 @@
66
67 // Defines all of the Source Forge hosts, databases, etc.
68 // This needs to be loaded first becuase the lines below depend upon it.
69-require ('/etc/local.inc');
70+require ('/etc/SourceForge/local.inc');
71
72 if (($HTTP_HOST != $GLOBALS['sys_default_domain']) && ($HTTP_HOST != 'localhost')) {
73 if ($SERVER_PORT == '443') {
74diff -Naur SF2.0/www/include/squal_pre.php SF2.0-p/www/include/squal_pre.php
75--- SF2.0/www/include/squal_pre.php Thu Sep 7 23:37:53 2000
76+++ SF2.0-p/www/include/squal_pre.php Tue Sep 19 20:56:01 2000
77@@ -6,7 +6,7 @@
78 //
79 // $Id$
80
81-require ('/etc/local.inc');
82+require ('/etc/SourceForge/local.inc');
83 require('database.php');
84 require('session.php');
85 require('user.php');
This page took 0.072468 seconds and 4 git commands to generate.