Commit Graph

50 Commits

Author SHA1 Message Date
FusionPBX
cf005c7671 Template engine use sys_get_temp_dir
Used to get the operating system temp directory.
2024-06-26 07:43:23 -06:00
frytimo
0dc9aaabe8 Minor Changes (#6756)
* Update installer to use magic __DIR__

* move setting default step to near top

* spacing

* move session start before text object creation
2023-06-17 14:07:06 -06:00
markjcrane
32051873be Use __dir__ to find resources/require.php 2023-06-16 22:49:09 -06:00
frytimo
d7bbcd89f5 Use magic constant dir (#6711)
* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__ to load only functions.php

* replace spaces with tab character

* update dirname command to use levels instead of nesting

* use magic constant __DIR__

* update dirname command to use levels instead of nesting

* Update access_control_edit.php

* Update access_control_import.php

* Update access_controls.php

* Update dnd.php

* Update access_controls_reload.php

* Update call_center_agents.php

* Update call_center_agents.php

* Update fax_queue.php

* Update login.php

* Update pdo.php

* Update pdo_vm.php

* Update switch.php

* Update index.php

* Update css.php

* Update v_mailto.php

* Update fax_to_email.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-06-15 11:28:23 -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
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
d8acec2630 Update install.php 2022-10-21 12:28:14 -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
07916dec2e Add server variables and project path 2022-10-14 10:30:52 -06:00
FusionPBX
61d8b54dcb Fix the include path 2022-10-14 10:10:40 -06:00
FusionPBX
f54f1e6fc5 Replace config.php with config.conf 2022-10-12 10:41:49 -06:00
markjcrane
d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX
26fbe226b4 Update install.php 2019-09-08 10:31:14 -06:00
FusionPBX
b8e23d1974 Update install.php 2019-09-08 09:44:56 -06:00
FusionPBX
f32563e49e Update install.php 2019-06-01 18:28:49 -06:00
FusionPBX
1a92df32fa Update install.php 2019-06-01 18:23:53 -06:00
FusionPBX
0572aa6fb1 Update install.php 2019-06-01 18:04:29 -06:00
FusionPBX
79e9a651d9 Update install.php 2019-06-01 17:55:25 -06:00
FusionPBX
a524c53ec9 Update install.php 2019-06-01 17:40:52 -06:00
FusionPBX
e904f0cbb2 Create install.php 2019-06-01 17:32:59 -06:00
FusionPBX
42631964cc Delete install.php 2019-06-01 17:31:34 -06:00
konradSC
9f372f81c0 Fix file name for install. (#3751)
resources/classes/messages.php was renamed to resources/classes/message.php
2018-10-31 14:58:16 -06:00
sergey-mz
3c82d3822b Check Windows ODBC DSN during install (#2798)
* ODBC DSN detection

* Merge remote-tracking branch 'upstream/master'

* Merge remote-tracking branch 'upstream/master'
2017-11-18 22:53:08 -07:00
Mafoo
b1c5d870e0 BugFix - GUI install (#2779)
Fixes to remove some errors in the GUI installer
2017-08-02 10:45:35 -06:00
Alexey Melnichuk
a75d89ef73 Fix. Load Message class (#2585)
Fix. Use correct way to get text message.
Fix. Use `Database Username` to create database if no `Create Database Username` specified.
2017-05-18 08:43:43 -06:00
FusionPBX
554fb33609 Update install.php 2016-12-11 22:59:04 -07:00
Mafoo
596319b885 BugFix-problem with detect_switch (#1633) 2016-06-08 08:28:44 -06:00
Mafoo
b93fa7ccee Reinstated the detect Configuration (#1624)
it is no longer required for the detect_switch to pass but this
reinstates the ability to change the values and check them with detect
configuration
2016-06-08 07:36:13 -06:00
Mafoo
96d576fc7a update installer to use default theme (#1626)
added support to allow install to use the theme's default settings and
reduce the number of php errors during the installer due to missing
settings
2016-06-08 07:31:45 -06:00
markjcrane
18f39cc98d Set the footer color. 2016-05-05 13:40:01 -06:00
markjcrane
87ed9fe1c8 Change the background color of the footer during the install. 2016-05-05 13:33:02 -06:00
mafoo
060e647507 Detect if there is at least one database driver 2016-04-29 21:54:04 +01:00
markjcrane
c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin
42a78d8d5e Fix to cure uninitialized variable warnings whenever schema is called.
Also many minor warning bug fixes in schema.php
Might as well take the plunge and go to default show warnings.
Uninitialized variable and small bug fixes install fusionpbx
2016-04-25 21:09:14 -05:00
Harry G. Coin
bda6861f88 \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
d71f1323c3 Update the install.php. 2016-03-26 19:17:33 -06:00
markjcrane
c6f0759a5c Change the code in the menu to return immediately if the database object is not ready in this case its not ready until the install.php is finished. 2016-03-26 13:36:00 -06:00
markjcrane
7f64cca1fa Remove the conflict install language is set with the radio buttons. 2016-03-26 13:14:57 -06:00
markjcrane
2e5f4ab596 Remove the fieldset and label as the alignment is not working with bootstrap. 2016-03-26 13:09:22 -06:00
markjcrane
3e5c9f3be4 Adjust the width of the language section of the install. 2016-03-26 12:35:40 -06:00
markjcrane
ba095f3852 Additional work to improve the install, template and the menu. 2016-03-26 12:22:15 -06:00
markjcrane
5468042d8d Fix the install.php. 2016-03-26 09:18:36 -06:00
markjcrane
8c33f72ed5 Set the default theme as the default. 2016-03-25 16:30:35 -06:00
markjcrane
b3ffd0a1ec Fix the install title. 2016-03-20 13:51:17 -06:00
mafoo
f803f03496 WhitespaceClean-core/install
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:03:29 +00:00
markjcrane
b47c8d0422 Add the missing .php extension. 2016-02-29 20:07:32 -07:00