mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 07:00:31 -04:00
history, tab completion, quick access to documentation. It was developed at Facebook and ironically, is written mostly in python. It is open source and released under a modified BSD license. WWW: http://phpsh.org/
14 lines
427 B
Python
14 lines
427 B
Python
|
|
$FreeBSD$
|
|
|
|
--- 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("%%PREFIX%%/etc/phpsh", manual_file)
|
|
conn = sqlite.connect(manual_path)
|
|
cursor = conn.cursor()
|
|
|