Harry G. Coin
91a92d8e5e
\r\n --> \n
...
Cause all the .php files containing lines ending with \r\n to instead end with \n.
DYI with:
find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
markjcrane
a54772c406
Restore the path to config.lua.
2016-04-16 00:44:10 -06:00
markjcrane
09d304a1aa
Use the connect method in the constructor.
2016-04-16 00:27:24 -06:00
markjcrane
a2b6f24a36
Get the db_type, db_username, db_password, and more using the constructor.
2016-04-16 00:21:01 -06:00
markjcrane
ca06335136
Set the full path to the config.lua script.
2016-04-15 23:16:19 -06:00
markjcrane
7277ed8f49
Set the sciprt directory from the session variable.
2016-04-15 19:57:29 -06:00
markjcrane
69d36b806d
Add class_exists
2016-04-14 23:23:14 -06:00
markjcrane
6828efb12c
Update the scripts class.
2016-04-14 23:09:49 -06:00
markjcrane
12067b8aea
Update the script.php class use session event socket information for now.
2016-04-04 23:27:41 -06:00
markjcrane
ff7e5323b5
Get the script_dir path from event socket.
2016-04-03 09:47:58 -06:00
markjcrane
7b1a596d6f
Use is_dir instead of check for the length of the stirng.
2016-04-03 09:36:27 -06:00
markjcrane
11f4fea479
Change expire["sofia_conf"] to expire["sofia"] and expire["acl_conf"] to expire["acl"]. Then add a default value to prevent nil errors when the conf.lua script has not been updated.
2016-04-02 08:32:43 -06:00
markjcrane
66e01ef9dc
Change to the new context require renaming two variables to be consistent and to prevent a problem.
2016-03-24 23:08:23 -06:00
markjcrane
0e3ea02f72
Change sytnax from database["name"] to database.name in the config.lua.
2016-03-24 20:15:09 -06:00
markjcrane
83edd6a7fd
On windows force to / instead of the backslash \ as path. This fixes a problem where recording c:\pathtofusionpbx\recordings fails because the \r gets understood as a carriage return in the session:record in FreeSWITCH.
2016-03-24 15:02:04 -06:00
mafoo
d408cf2fbc
WhitespaceClean-app/batch_1
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:56:29 +00:00
markjcrane
2c2d49a4d4
Set the $db as a global variable in the class.
2015-12-20 22:54:08 -07:00
markjcrane
dd9e225fa5
Use the system function for recursive copy.
2015-12-20 22:52:40 -07:00
markjcrane
2817c536db
Fix a problem caused with a search and replace on the correct_path method.
2015-12-20 22:50:33 -07:00
markjcrane
9287772a4b
Add app/scripts to add a new scripts class and app_defaults to copy the lua scripts and write the config.lua.
2015-12-20 22:47:48 -07:00