mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 04:00:41 -04:00
11 lines
405 B
Python
11 lines
405 B
Python
--- src/manual.py.orig
|
|
+++ src/manual.py
|
|
@@ -69,7 +69,7 @@
|
|
manual_file = "php_manual.db"
|
|
manual_path = os.path.join(os.getenv("HOME"), ".phpsh", manual_file)
|
|
if not os.path.exists(manual_path):
|
|
- manual_path = os.path.join("/etc/phpsh", manual_file)
|
|
+ manual_path = os.path.join("%%ETCDIR%%", manual_file)
|
|
conn = sqlite.connect(manual_path)
|
|
cursor = conn.cursor()
|
|
|