1 diff -ur flyspray-0.9.9.5.1/setup/index.php flyspray-0.9.9.5.1.new/setup/index.php
2 --- flyspray-0.9.9.5.1/setup/index.php 2008-03-07 18:55:22.000000000 +0000
3 +++ flyspray-0.9.9.5.1.new/setup/index.php 2008-07-10 06:11:35.000000000 +0000
5 ini_set('memory_limit', '64M');
8 -if (is_readable ('../flyspray.conf.php') && count(parse_ini_file('../flyspray.conf.php')) > 0)
9 +if (is_readable ('/etc/webapps/flyspray/flyspray.conf.php') && count(parse_ini_file('/etc/webapps/flyspray/flyspray.conf.php')) > 0)
11 - die('Flyspray already installed. Use the <a href="upgrade.php">upgrader</a> to upgrade your Flyspray, or delete flyspray.conf.php to run setup.
12 + die('Flyspray already installed. Use the <a href="upgrade.php">upgrader</a> to upgrade your Flyspray, or delete /etc/webapps/flyspray/flyspray.conf.php to run setup.
13 You can *not* use the setup on an existing database.');
20 - $this->mAdodbPath = APPLICATION_PATH . '/adodb/adodb.inc.php';
21 + $this->mAdodbPath = '/usr/share/php/adodb/adodb.inc.php';
22 $this->mProductName = 'Flyspray';
23 $this->mMinPasswordLength = 8;
27 $config_text = $config_intro . implode( "\n", $config );
29 - if (is_writable('../flyspray.conf.php') && ($fp = fopen('../flyspray.conf.php', "wb")))
30 + if (is_writable('/etc/webapps/flyspray/flyspray.conf.php') && ($fp = fopen('/etc/webapps/flyspray/flyspray.conf.php', "wb")))
32 fputs($fp, $config_text, strlen($config_text));
34 Tylko w flyspray-0.9.9.5.1.new/setup: index.php~
35 diff -ur flyspray-0.9.9.5.1/setup/templates/complete_install.tpl flyspray-0.9.9.5.1.new/setup/templates/complete_install.tpl
36 --- flyspray-0.9.9.5.1/setup/templates/complete_install.tpl 2007-02-04 07:11:48.000000000 +0000
37 +++ flyspray-0.9.9.5.1.new/setup/templates/complete_install.tpl 2008-07-04 12:10:36.000000000 +0000
39 The configuration file is not writeable. You will have to upload the following
40 code manually. Click in the textarea to highlight all of the code. Copy and
41 paste the contents into the flyspray.conf.php file available in the base of
42 - {$product_name} installation.
43 + {$product_name} (/etc/webapps/flyspray).
48 if (!$config_writeable)
51 - <h3>flyspray.conf.php NOT writeable</h3>
52 + <h3>flyspray.conf NOT writeable</h3>
54 To complete setup, copy and paste the contents of the textarea box into flyspray.conf.php
55 - This file resides in the base of your {$product_name} installation.
56 + This file resides in the base of your {$product_name} installation (/etc/webapps/flyspray).
63 </div><!-- end of right -->
64 - <div class="clr"></div>
65 \ Brak znaku nowej linii na końcu pliku
66 + <div class="clr"></div>
67 Tylko w flyspray-0.9.9.5.1.new/setup/templates: complete_install.tpl~
68 diff -ur flyspray-0.9.9.5.1/setup/templates/license.tpl flyspray-0.9.9.5.1.new/setup/templates/license.tpl
69 --- flyspray-0.9.9.5.1/setup/templates/license.tpl 2007-02-04 07:11:48.000000000 +0000
70 +++ flyspray-0.9.9.5.1.new/setup/templates/license.tpl 2008-07-04 12:13:11.000000000 +0000
72 <div class="clr"></div>
74 <div class="formBlock" style="width:470px;position:relative;">
75 - <iframe src="../docs/licences/gnu_lgpl.html" class="license" width="450" frameborder="0" scrolling="auto"></iframe>
76 + <iframe src="licences/gnu_lgpl.html" class="license" width="450" frameborder="0" scrolling="auto"></iframe>
79 <div class="clr"></div>
80 Tylko w flyspray-0.9.9.5.1.new/setup/templates: license.tpl~
81 diff -ur flyspray-0.9.9.5.1/setup/templates/pre_install.tpl flyspray-0.9.9.5.1.new/setup/templates/pre_install.tpl
82 --- flyspray-0.9.9.5.1/setup/templates/pre_install.tpl 2007-03-24 13:26:36.000000000 +0000
83 +++ flyspray-0.9.9.5.1.new/setup/templates/pre_install.tpl 2008-07-04 12:12:30.000000000 +0000
86 <?php if (!$sapiStatus): ?>
87 <p><strong>CGI server API is not supported</strong>. Consider upgrading to FastCGI, otherwise you have to add
88 - <code>force_baseurl = "http://yourflyspray/"</code> manually to flyspray.conf.php after setup.
89 + <code>force_baseurl = "http://yourflyspray/"</code> manually to flyspray.conf after setup.
94 <div class="installBlock">
95 <table class="formBlock">
97 - <td valign="top">../flyspray.conf.php</td>
98 + <td valign="top">../flyspray.conf</td>
99 <td align="left"><b>{!$config_output}</b></td>
104 <?php if (!$config_status): ?>
106 - The installer has detected that the <strong>flyspray.conf.php</strong> file is not
107 + The installer has detected that the <strong>flyspray.conf</strong> file is not
108 writeable. Please make it writeable by the web-server user or world writeable to
109 proceed with the setup. Alternatively if you wish to proceed, the installer will
110 make available the contents of the configuration file at the end of the setup. You
111 will then have to manually copy and paste the contents into the configuration file
112 - located at <strong><?php echo APPLICATION_PATH . DIRECTORY_SEPARATOR . 'flyspray.conf.php'; ?></strong>.
113 + located at <strong>'/etc/webapps/flyspray/flyspray.conf</strong>.
119 <div class="clr"></div>
120 </div><!-- end of right -->
121 - <div class="clr"></div>
122 \ Brak znaku nowej linii na końcu pliku
123 + <div class="clr"></div>
124 Tylko w flyspray-0.9.9.5.1.new/setup/templates: pre_install.tpl~