/[debian]/quickappoint/trunk/debian/patches/options.patch
ViewVC logotype

Contents of /quickappoint/trunk/debian/patches/options.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1328 - (show annotations)
Thu Jun 5 22:56:01 2008 UTC (13 years, 1 month ago) by gregoa
File size: 1453 byte(s)
Change patch system from dpatch to quilt.
1 Author: <gregor+debian@comodo.priv.at>
2 Description: No description.
3 --- quickappoint.orig/etc/options.php
4 +++ quickappoint/etc/options.php
5 @@ -1,32 +1,30 @@
6 <?php
7
8 +/*
9 +CHANGE SETTINGS HERE:
10 +You may want to change at least the projecturl, the other
11 +settings have reasonable defaults.
12 +*/
13 +
14 // Server settings
15 $project_options = array(
16 - 'projecturl' => 'http://www.toastfreeware.priv.at/quickappoint/',
17 + 'projecturl' => 'http://localhost/quickappoint/',
18 'locale' => '' // use empty string for system default or something like 'de_AT@euro'
19 );
20
21
22 // Database settings
23 $db_options = array(
24 - 'host' => 'colleen.colgarra.priv.at',
25 + 'host' => 'localhost',
26 'db' => 'quickappoint',
27 'user' => 'quickappoint',
28 'pass' => 'quickappoint'
29 );
30
31 +/*
32 +DON'T CHANGE ANYTHING HERE.
33 +*/
34
35 -// -------------
36 -// Local options for testing and developing on local machines below:
37 -
38 -$local = !ereg('toastfreeware', $_SERVER['HTTP_HOST']);
39 -
40 -if ($local) {
41 - $project_options['projecturl'] = 'http://localhost/~philipp/quickappoint/';
42 -}
43 -
44 -
45 -// -------------
46 // Further options (derived)
47 // Pages where the user doesn't require a login
48 $unrestricted_pages = array(
49 --- quickappoint.orig/lib/prepend.php
50 +++ quickappoint/lib/prepend.php
51 @@ -3,7 +3,7 @@
52
53 error_reporting(E_ALL);
54 session_start();
55 -require_once(dirname(__FILE__) . '/../etc/options.php');
56 +require_once('/etc/quickappoint/options.php');
57
58
59 // check server settings: magic quotes gpc

  ViewVC Help
Powered by ViewVC 1.1.26