diff -ur flyspray-0.9.9.5.1/setup/index.php flyspray-0.9.9.5.1.new/setup/index.php --- flyspray-0.9.9.5.1/setup/index.php 2008-03-07 18:55:22.000000000 +0000 +++ flyspray-0.9.9.5.1.new/setup/index.php 2008-07-10 06:11:35.000000000 +0000 @@ -12,9 +12,9 @@ ini_set('memory_limit', '64M'); -if (is_readable ('../flyspray.conf.php') && count(parse_ini_file('../flyspray.conf.php')) > 0) +if (is_readable ('/etc/webapps/flyspray/flyspray.conf.php') && count(parse_ini_file('/etc/webapps/flyspray/flyspray.conf.php')) > 0) { - die('Flyspray already installed. Use the upgrader to upgrade your Flyspray, or delete flyspray.conf.php to run setup. + die('Flyspray already installed. Use the upgrader to upgrade your Flyspray, or delete /etc/webapps/flyspray/flyspray.conf.php to run setup. You can *not* use the setup on an existing database.'); } @@ -88,7 +88,7 @@ function Setup() { // Look for ADOdb - $this->mAdodbPath = APPLICATION_PATH . '/adodb/adodb.inc.php'; + $this->mAdodbPath = '/usr/share/php/adodb/adodb.inc.php'; $this->mProductName = 'Flyspray'; $this->mMinPasswordLength = 8; @@ -806,7 +806,7 @@ $config_text = $config_intro . implode( "\n", $config ); - if (is_writable('../flyspray.conf.php') && ($fp = fopen('../flyspray.conf.php', "wb"))) + if (is_writable('/etc/webapps/flyspray/flyspray.conf.php') && ($fp = fopen('/etc/webapps/flyspray/flyspray.conf.php', "wb"))) { fputs($fp, $config_text, strlen($config_text)); fclose($fp); Tylko w flyspray-0.9.9.5.1.new/setup: index.php~ 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 --- flyspray-0.9.9.5.1/setup/templates/complete_install.tpl 2007-02-04 07:11:48.000000000 +0000 +++ flyspray-0.9.9.5.1.new/setup/templates/complete_install.tpl 2008-07-04 12:10:36.000000000 +0000 @@ -21,7 +21,7 @@ The configuration file is not writeable. You will have to upload the following code manually. Click in the textarea to highlight all of the code. Copy and paste the contents into the flyspray.conf.php file available in the base of - {$product_name} installation. + {$product_name} (/etc/webapps/flyspray).
To complete setup, copy and paste the contents of the textarea box into flyspray.conf.php - This file resides in the base of your {$product_name} installation. + This file resides in the base of your {$product_name} installation (/etc/webapps/flyspray).
- \ Brak znaku nowej linii na końcu pliku + Tylko w flyspray-0.9.9.5.1.new/setup/templates: complete_install.tpl~ diff -ur flyspray-0.9.9.5.1/setup/templates/license.tpl flyspray-0.9.9.5.1.new/setup/templates/license.tpl --- flyspray-0.9.9.5.1/setup/templates/license.tpl 2007-02-04 07:11:48.000000000 +0000 +++ flyspray-0.9.9.5.1.new/setup/templates/license.tpl 2008-07-04 12:13:11.000000000 +0000 @@ -11,7 +11,7 @@CGI server API is not supported. Consider upgrading to FastCGI, otherwise you have to add
- force_baseurl = "http://yourflyspray/"
manually to flyspray.conf.php after setup.
+ force_baseurl = "http://yourflyspray/"
manually to flyspray.conf after setup.
../flyspray.conf.php | +../flyspray.conf | {!$config_output} |