File: confDefault-image-path.patch

package info (click to toggle)
zoph 1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,632 kB
  • sloc: php: 28,044; javascript: 10,435; sql: 527; sh: 153; makefile: 4
file content (28 lines) | stat: -rw-r--r-- 1,209 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: John Lines <jlines@debian.org>
Date: Mon, 3 Feb 2025 11:22:10 +0000
Subject: Fix default image path for FHS compatibility

Forwarded: not-needed
Last-Update: 2023-03-09

Upstream uses /data/images, package uses /var/lib/zoph
Not forwarded upstream as upstream default is a reasonable
value for non FHS configurations
Last-Update: 2023-03-09
---
 php/classes/conf/confDefault.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/php/classes/conf/confDefault.inc.php b/php/classes/conf/confDefault.inc.php
index 0dfb82a..4802e6b 100644
--- a/php/classes/conf/confDefault.inc.php
+++ b/php/classes/conf/confDefault.inc.php
@@ -252,7 +252,7 @@ class confDefault extends conf {
         $pathImages->setLabel("Images directory");
         $pathImages->setDesc("Location of the images on the filesystem. Absolute path, " .
             "thus starting with a /");
-        $pathImages->setDefault("/data/images");
+        $pathImages->setDefault("/var/lib/zoph");
         $pathImages->setRegex("^\/[A-Za-z0-9_.\/\-]+$");
         $pathImages->setHint("Alphanumeric characters (A-Z, a-z and 0-9), forward " .
             "slash (/), dot (.), and underscore (_). Must start with a /");