File: confDefault-image-path.patch

package info (click to toggle)
zoph 1.0.1-3
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 16,480 kB
  • sloc: php: 27,195; javascript: 10,374; sql: 416; sh: 152; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 893 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix default image path for FHS compatibility
 Upstream uses /data/images, package uses /var/lib/zoph
Author: John Lines <jlines@debian.org>
Last-Update: 2021-08-31
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/php/classes/conf/confDefault.inc.php
+++ b/php/classes/conf/confDefault.inc.php
@@ -254,7 +254,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 /");