Changeset 3913
- Timestamp:
- 04/07/07 18:13:23 (6 years ago)
- Files:
-
- modules/branches/2.2/parking/functions.inc.php (modified) (2 diffs)
- modules/branches/2.2/parking/module.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.2/parking/functions.inc.php
r3911 r3913 10 10 global $db; 11 11 global $ext; // is this the best way to pass this? 12 global $asterisk_conf; 12 13 switch($engine) { 13 14 case "asterisk": … … 36 37 //AND GET THE ENV VARIABLES TO CALL THIS BY 37 38 38 $filename = (isset($amp_conf["ASTETCDIR"]) ? $amp_conf["ASTETCDIR"] : "/etc/asterisk/") . "parking_additional.inc"; 39 $filename = isset($asterisk_conf["astetcdir"]) && $asterisk_conf["astetcdir"] != '' ? rtrim($asterisk_conf["astetcdir"],DIRECTORY_SEPARATOR) : "/etc/asterisk"; 40 $filename .= "/parking_additional.inc"; 39 41 $fh = fopen($filename, "w+"); 40 42 fwrite($fh, ";*** WARNING: DO NOT HAND EDIT THIS FILE IT IS AUTO-GENERATD ***\n;\n"); modules/branches/2.2/parking/module.xml
r3911 r3913 2 2 <rawname>parking</rawname> 3 3 <name>Parking Lot</name> 4 <version>2.1 </version>4 <version>2.1.1</version> 5 5 <type>setup</type> 6 6 <category>Internal Options & Configuration</category> … … 12 12 </menuitems> 13 13 <changelog> 14 *2.1.1* fix pseudo hardcoded path issue (hardcoded form missing global) 14 15 *2.1* Remove settings on uninstall bug #1597 15 16 *2.0.2* Add he_IL translation
