FusionPBX
5a71e16f15
Use the config.conf file
2022-10-22 23:45:59 -06:00
FusionPBX
bc378823bd
Check teh config method result.
...
Show the error message if the result is false.
2022-10-22 19:23:03 -06:00
FusionPBX
d87ecbb3f2
Add a message variable.
2022-10-22 19:21:48 -06:00
FusionPBX
bfe557edc3
install class method return boolean
2022-10-22 19:13:32 -06:00
FusionPBX
9880cd630a
Update install.php
2022-10-22 18:46:22 -06:00
FusionPBX
dd87f510c6
Update install.php
2022-10-22 18:39:03 -06:00
FusionPBX
a0e3cd1268
Use is_writable on the config directory
...
- If the directory is writable and config.php exists then use it to write the config.conf file.
- Otherwise provide a message on the commands to run to create the config.conf file.
2022-10-22 18:16:52 -06:00
FusionPBX
e807f9c14a
Move the config.php section
2022-10-22 17:48:47 -06:00
FusionPBX
e84927a216
Use the new install class
...
- Move the code to build config.conf file
- If the config.php file exists use it to create the config.conf file
2022-10-22 16:49:24 -06:00
FusionPBX
2178427977
Add content to the config method
2022-10-22 16:44:19 -06:00
FusionPBX
7685e7fcdb
Delete iso_countries.php
2022-10-22 15:23:04 -06:00
FusionPBX
4892c468eb
Create the install class
2022-10-22 15:22:47 -06:00
FusionPBX
fdf5f5f1f1
Update configuration.htm
2022-10-22 15:06:24 -06:00
FusionPBX
127d55579f
Add button style to the install
2022-10-22 14:16:53 -06:00
FusionPBX
b44a4da6e1
Add local CSS to install.php
2022-10-22 13:19:13 -06:00
FusionPBX
d345542098
Update css.php
2022-10-22 10:49:09 -06:00
FusionPBX
d8acec2630
Update install.php
2022-10-21 12:28:14 -06:00
FusionPBX
7485757458
Change the timeout to 20 seconds
2022-10-21 11:43:53 -06:00
FusionPBX
4afc040efa
Add SMTP Timeout and SMTPKeepAlive
2022-10-21 11:43:14 -06:00
FusionPBX
88b43cfa14
If no handle return false
...
Splitting up the condition and return false for each condition works in all tests.
2022-10-20 16:18:55 -06:00
FusionPBX
b004e8f3ba
Add message Unable to connect...
2022-10-20 16:07:23 -06:00
FusionPBX
87360643ab
Update upgrade.php
2022-10-19 22:25:28 -06:00
FusionPBX
2ea90bfc52
Copy of the domain array and used it in dialplan import
2022-10-19 13:48:15 -06:00
frytimo
2bdf0d382e
add isset($_REQUEST['debug']) before testing value for true ( #6486 )
...
Co-authored-by: Tim Fry <tim@voipstratus.com >
2022-10-19 11:49:31 -06:00
FusionPBX
2816a54a8f
Use the now() for PostgreSQL
...
This prevents and error for SQLite
2022-10-19 11:29:22 -06:00
FusionPBX
7e88b594dd
Use the database_dir variable
2022-10-19 11:07:43 -06:00
FusionPBX
14552806a1
Update upgrade.php
2022-10-19 11:06:38 -06:00
FusionPBX
353be53ba8
Use sqlite by default
...
FusionPBX uses PostgreSQL by default
FreeSWITCH uses SQLite by default
2022-10-19 11:06:24 -06:00
FusionPBX
0bba8702a1
Add sqlite support
...
Example use in config.conf file.
database.1.type = sqlite
database.1.path = /var/lib/freeswitch/db
database.1.name = core.db
2022-10-19 10:57:04 -06:00
FusionPBX
87ccce1867
Fix the sub data insert.
2022-10-18 13:04:16 -06:00
FusionPBX
47c13a7270
Set update_date now() when the status is updated
2022-10-18 07:58:03 -06:00
FusionPBX
8df6c6be4f
Update configuration.htm
2022-10-15 22:01:03 -06:00
FusionPBX
dfe990b277
Update database.htm
2022-10-15 22:00:57 -06:00
FusionPBX
ef3bd6ddaf
Update index.php
2022-10-15 21:14:43 -06:00
FusionPBX
2197aa0c74
Update login.php
2022-10-15 21:12:09 -06:00
FusionPBX
9436090b7b
Update index.php
2022-10-15 21:11:06 -06:00
FusionPBX
eacff4c797
Code is causing a larger issue removed for more testing.
2022-10-14 12:38:01 -06:00
FusionPBX
a373958ffd
Use $_SERVER['DOCUMENT_ROOT']
2022-10-14 11:51:17 -06:00
FusionPBX
49e146c8c2
Write the new config.conf file.
...
Remove config.php and add the new code to write the config.conf file.
2022-10-14 11:18:42 -06:00
FusionPBX
5f12776252
change label-domain to domain_name.
2022-10-14 10:37:35 -06:00
FusionPBX
07916dec2e
Add server variables and project path
2022-10-14 10:30:52 -06:00
FusionPBX
80b76cd156
Add domain
2022-10-14 10:28:30 -06:00
FusionPBX
69246119f6
Fix the domain label
2022-10-14 10:23:14 -06:00
FusionPBX
61d8b54dcb
Fix the include path
2022-10-14 10:10:40 -06:00
FusionPBX
03ac05fc64
Moved to resources/require.php
...
Found a better home for this code.
2022-10-14 10:08:03 -06:00
FusionPBX
3b8d3b70ea
Include additional functions
...
Moved here from resources/functions.php
2022-10-14 10:07:14 -06:00
FusionPBX
ef040f2b7a
Command line or web server both includes can work the same
2022-10-13 16:50:47 -06:00
FusionPBX
3e8ea2015f
Use the error reporting defined in config.conf
2022-10-13 16:23:20 -06:00
FusionPBX
0a25c48b5d
event socket make fp public
2022-10-13 12:52:52 -06:00
FusionPBX
58d0a1ad8c
Make sure resource exists before using feof
...
This code changes prevents this error.
Warning: feof() expects parameter 1 to be resource, bool given
2022-10-13 11:26:53 -06:00