]> git.pld-linux.org Git - packages/gallery.git/blame - gallery-PLD.patch
- paths setup
[packages/gallery.git] / gallery-PLD.patch
CommitLineData
649899bd
ER
1--- ./lib/url.php~ 2005-12-26 23:23:03.000000000 +0200
2+++ ./lib/url.php 2006-01-27 00:45:58.479261981 +0200
3@@ -17,7 +17,7 @@
4 $currentFile = __FILE__;
5 if ( $currentFile == '/usr/share/gallery/lib/url.php') {
6 /* We assum Gallery runs on as Debian Package */
7- define ("GALLERY_CONFDIR", "/etc/gallery");
8+ define ("GALLERY_CONFDIR", "/etc/webapps/gallery");
9 define ("GALLERY_SETUPDIR", "/var/lib/gallery/setup");
10 } else {
11 define ("GALLERY_CONFDIR", dirname(dirname(__FILE__)));
12--- gallery/setup/config_data.inc 2006-01-10 07:41:32.000000000 +0200
13+++ /tmp/config_data.inc 2006-01-27 00:53:36.000000000 +0200
14@@ -317,7 +317,7 @@
15 'desc' => '(<span class="attention">' . gTranslate('config',"REQUIRED") . '</span>) ' .
16 sprintf(gTranslate('config',"The full path on physical disk to the directory where your photos will be stored. This directory should start off empty&#8212;Gallery will fill it. Note that this directory needs to have write access by the user who is running the web server (in your case this user is %s)."),
17 '<b>'. $webserver_user . '</b>'),
18- 'value' => getenv('DOCUMENT_ROOT') . '/albums',
19+ 'value' => '/var/lib/gallery/albums',
20 'require-write-dir' => 1,
21 'filename' => 1,
22 'type' => 'text',
23@@ -330,7 +330,7 @@
24 'desc' => '(<span class="attention">' . gTranslate('config',"REQUIRED") . '</span>) ' .
25 sprintf(gTranslate('config',"The filesystem path to a temporary directory. E.g. %s or %s. Note that if you have <b>open_basedir</b> configured on your system, then this temporary directory must be inside the <b>open_basedir</b> path! In that case you may need to create the directory yourself and make sure that it's writable by the webserver process."),
26 '<i>/tmp</i>','<i>c:\\windows\\temp</i>'),
27- 'value' => getenv('TMP'),
28+ 'value' => '/var/tmp',
29 'filename' => 1,
30 'require-write-dir' => 1,
31 'type' => 'text',
This page took 0.515824 seconds and 4 git commands to generate.