Commit Graph

126 Commits

Author SHA1 Message Date
jrmcclean 4484c9ad5f
Update install.php (#6853)
* Update install.php

Update config directory for windows from www folder to Programdata directory
2023-12-22 15:32:42 -07:00
jrmcclean 3b8b771c92
Update install.php (#6699)
* Changed If statement to Switch Case. 
* Added Win option
* Created new Var $php_dir and $cache_location
2023-05-24 17:21:42 -06:00
frytimo 69bd42af05
remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
FusionPBX 4433737c43
Removed quotes
The quotes are optional and looks a little nicer so they have been removed.
2023-04-26 11:46:53 -06:00
FusionPBX b4ccdd244b
[bug] error reporting options user, dev, all (#6616)
An enhancement that adds simple options to show what errors to show in the web interface. This also fixes a bug that causes an error in PHP8.
2023-04-26 11:19:45 -06:00
FusionPBX b620b36f28
Use SQLite by default for FreeSWITCH 2022-10-26 13:52:30 -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 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 7fa6b21c1e Delete install_switch.php 2019-06-01 17:30:13 -06:00
FusionPBX 93298dfb50 Delete install_fusionpbx.php 2019-06-01 17:30:06 -06:00
FusionPBX 5d5fa8f041 Delete global_settings.php 2019-06-01 17:29:59 -06:00
FusionPBX 7b2e01d692 Delete detect_switch.php 2019-06-01 17:29:52 -06:00
FusionPBX 35b195ee23 Update install_fusionpbx.php 2019-02-09 08:31:27 -07:00
FusionPBX 1f1792d815 Update install_fusionpbx.php 2019-02-09 08:22:10 -07:00
FusionPBX 07cb93192a Update install_fusionpbx.php 2018-11-14 05:32:03 -06:00
powerpbx 2a6cbb5455 Update install_fusionpbx.php (#3021)
Fix so install works with MySQL.
2018-09-02 11:04:31 -06:00
Alexey Melnichuk df441e9625 Fix. Create database scheme before trying insert record to `v_database` (#2965)
Problem that `create_database_pgsql` does not create actual scheme
but `create_odbc_database_connection` try insert record to v_database and
installation fails.
2018-01-27 12:12:11 -07:00
FusionPBX f018dd0c8c Update install_fusionpbx.php 2017-11-17 09:41:51 -07: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 72354a9067 Update install_fusionpbx.php 2017-05-09 20:22:39 -06:00
powerpbx a8ccb60c4f Fix SQL syntax (#2570) 2017-05-09 20:21:12 -06:00
Richard Neese 3a5fe74230 fixing debian pkg installs (#2363) 2017-02-07 15:52:44 -07:00
Tom Gillett 67b34a0414 Fixed bug preventing scripts from being copied properly during install process (#2296) 2017-01-10 08:11:09 -07:00
FusionPBX 7231b15987 Update install_fusionpbx.php
Move to core default settings app defaults.
2016-11-27 17:05:37 -07:00
FusionPBX f1db45d875 Update install_switch.php
Switch directory will not always exist if the FreeSWITCH is installed on a separate machine than FusionPBX.
2016-10-31 23:46:13 -06:00
Mafoo 71525c26b0 I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo 86c4742347 Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
markjcrane adb120b7f0 Re-enable hide PHP warnings for regular users. 2016-04-29 17:08:23 -06:00
Harry G. Coin b9285e81fe fix so maradb 10.1 install can create the database. 2016-04-25 21:34:44 -05: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 f1ac6eb9bd Only set switch default settings for variables that are enabled. 2016-04-15 19:44:55 -06:00
markjcrane 6a8ee0e075 Only set the SESSION variables from default settings for the switch category. 2016-04-15 19:39:55 -06:00
markjcrane 31b6597c19 Change the object name install_fusionpbx.php uses dbh instead of db. 2016-04-15 19:31:47 -06:00
markjcrane 12420d1534 Update the install to set the default setting session variables. 2016-04-15 19:27:19 -06:00
markjcrane d34d709e37 Schema use $this->$db instead of $db. 2016-04-14 21:51:11 -06:00
markjcrane 5799ce6497 Work on the install. 2016-04-14 21:14:40 -06:00
markjcrane 2026793e1d Run upgrade to call app defaults. 2016-04-03 13:46:46 -06:00
markjcrane 9cb577f44f Update install freeswitch commented out copy scripts and create config lua as they handled in other code. Update install fusionpbx adding switch directories and creating groups handled in other code. When testing is completed will be removed from the code. 2016-04-03 08:39:47 -06:00
markjcrane 51ea37ed18 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
markjcrane 3ad26f1965 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
FusionPBX 8f17db2ffc Merge pull request #1530 from moteus/install_new_db
Fix. Install with create new database for PgSQL/MySQL
2016-04-02 00:44:26 -06:00
Alexey Melnichuk b9f2e358af Fix. Install with create new database for PgSQL/MySQL
* MySQL/PgSQL ignore error while create new user because user may already exists.
* MySQL on database page use same checkbox like one for PgSQL
* MySQL/PgSQL if create user empty try use db user.(may be better use root/postgres without pass)
* PgSQL fix `GRANT ALL ON DATABASE dbname` instead of `GRANT ALL ON dbname`
* MySQL fix connect string build
* MySQL fix use correct password to connect
2016-03-30 15:05:25 +03:00
Alexey Melnichuk efa19d3be4 Fix. Generate same `config.lua` on install as on Upgrade. 2016-03-29 14:43:58 +03:00
markjcrane 32ffe4d37f Remove the create_menus() from the install as it is now handled in the menu class. 2016-03-27 02:15:27 -06:00
markjcrane d71f1323c3 Update the install.php. 2016-03-26 19:17:33 -06:00
dis45927 64dcd97d23 Fix bug preventing mysql database creation 2016-03-15 10:30:33 +00:00