File: 01-debian-data-path.patch

package info (click to toggle)
php-giggsey-locale 2.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,160 kB
  • sloc: php: 53,967; xml: 61; makefile: 37
file content (23 lines) | stat: -rw-r--r-- 595 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
From: Fab Stz <fabstz-it@yahoo.fr>
Date: Tue, 11 Mar 2025 21:09:56 +0100
Subject: Set correct path for data since location is different in debian

Forwarded: not-needed
Last-Update: 2022-02-15
---
 src/Locale.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Locale.php b/src/Locale.php
index 1d75237..3871ffc 100644
--- a/src/Locale.php
+++ b/src/Locale.php
@@ -8,7 +8,7 @@ use RuntimeException;
 
 class Locale
 {
-    protected static $dataDir = '../data/';
+    protected static $dataDir = 'data/';
 
     /**
      * Gets the primary language for the input locale