FusionPBX
2c5724c6ed
Add new class methods and use them
2023-09-11 01:45:19 -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
54ce2b15c8
field name is singular domain_name
2023-05-21 17:13:11 -06:00
FusionPBX
044932163c
After removing natsort add order by domain name
2023-05-21 17:10:43 -06:00
FusionPBX
6fc9312331
Deprecated natsort
...
One customer 3 domains were missing and after removing this the all domains showed up in the list. Also no longer needed as the front end for the domain list.
2023-05-19 19:07:56 -06:00
FusionPBX
5c34c991cf
Update pdo.php
2023-05-12 18:34:54 -06:00
FusionPBX
4f60390b34
Check if the tables_exists
2023-05-11 22:33:08 -06:00
fusionate
8ddbe07d3d
PDO: Fix PHP 8.x issue on explode function.
2023-05-08 13:21:10 +00:00
frytimo
fef8165be2
Frytimo pr patches for php8.1 ( #6630 )
...
* Passing null to parameter #2 ($string) of type string is deprecated
* Passing null to parameter #1 ($string) of type string is deprecated
* php 8.1 fixes
* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - strlower with null
* php 8.1 fixes - strreplace with null
* php 8.1 fixes - passing null to base64_decode
* php 8.1 fixes - check for false and check for null on $this->dir
* php 8.1 fixes - remove assignment of $db variable to modules object
* php 8.1 fixes - avoid sending null to substr
* php 8.1 fixes - change ${var} to {$var}
* php 8.1 fixes - check for null before preg_replace
* php 8.1 fixes - remove setting db variable on domains object
* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null
* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available
* php 8.1 fixes
* php 8.1 fixes - correct $_POST checking syntax
* php 8.1 fixes - correct $_POST variables
* php 8.1 fixes
* Use brackets consistently
* Update user_setting_edit.php
* Change to not empty
* Update device.php
* Update text.php
---------
Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
FusionPBX
c4a46297a0
Add PHP ODBC
2022-11-08 09:45:04 -07:00
markjcrane
d50bcb476a
Replace root.php
2022-10-10 16:35:14 -06:00
FusionPBX
750177a51d
Remove cidr from the pdo.php file.
...
This was an awkward place for this code so moved it into its own include.
2021-11-26 12:35:45 -07:00
FusionPBX
d191ea77d7
Remove code that is no longer needed.
2021-09-12 19:37:00 -06:00
FusionPBX
a7e12aa5da
Update pdo.php
...
Replace dbissecure with db_secure variable as this approach is more concise.
2020-10-31 11:44:20 -06:00
FusionPBX
8d4d42bbe7
Update pdo.php
...
When the user is not logged in then set the domain_uuid and domain_name based on domain from the URL.
2020-10-26 19:20:39 -06:00
FusionPBX
6a728e2563
Update pdo.php
...
With these lines commented out per domain settings don't work when logged out.
2020-10-22 03:51:19 -06:00
FusionPBX
dacd09e284
This breaks default setting user unique global.
2020-10-16 14:42:04 -06:00
jpattWPC
4ae27f13b6
Add support for PostgreSQL TLS ( #4262 )
...
This commit adds support for PostgreSQL TLS communication. This requires /etc/fusionpbx/config.php to have two parameters added:
$db_secure = true;
$db_cert_authority = "/path/to/ca.crt";
2019-06-05 21:10:58 -06:00
FusionPBX
de37a5ee15
Update pdo.php
2018-10-24 10:47:10 -06:00
FusionPBX
6935f6f599
Update pdo.php
2018-10-23 22:38:35 -06:00
FusionPBX
a6c88fc609
Update pdo.php
2018-08-19 14:12:56 -06:00
FusionPBX
ae252d235b
Update pdo.php
2018-04-21 09:31:02 -06:00
FusionPBX
cd3c9d0e52
Update pdo.php
2017-01-09 17:55:40 -07:00
FusionPBX
5744d4b673
Update pdo.php
...
Prevent php warnings.
2017-01-04 20:40:36 -07:00
markjcrane
3b79ec85d9
Add the missing function to pdo.php.
2016-04-29 11:21:26 -06:00
markjcrane
434d2a8fe2
Change phpsqlitedatatype to php_sqlite_data_type.
2016-04-29 11:15:02 -06:00
Harry G. Coin
2a070aff4f
last fixes needed to support mariadb 10.1
2016-04-25 22:20:31 -05:00
mafoo
5e97c0df2c
WhitespaceClean-resources/others
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:57:01 +00:00
markjcrane
68d2578eb8
Simplify adding items to the domains array.
2015-07-25 17:44:56 -06:00
markjcrane
b1087f5a43
Remove one trip to the database.
2015-07-23 14:03:24 -06:00
Mark Crane
615169b8a8
Prevent mysql_connect error message
2014-08-24 09:46:32 +00:00
Mark Crane
774653e87d
Fix pdo.php isset
2014-08-17 07:29:27 +00:00
Nate Jones
5e57510ec8
Clean up pdo.php.
2014-08-17 07:13:39 +00:00
Nate Jones
5963ad0111
Enhanced Theme: Natural sort the domains in the Domain Selector.
2014-08-17 07:09:57 +00:00
Mark Crane
6e049535e1
Add a check for domain and api cidr
2014-07-29 04:26:32 +00:00
Mark Crane
41196d52aa
Fix the if statement
2014-07-27 03:38:09 +00:00
Mark Crane
608595f412
Set the title
2014-07-27 03:34:36 +00:00
Mark Crane
41fda05df6
Set MySQL Attribute for UTF8
2014-04-26 18:53:58 +00:00
Mark Crane
fe5c6fe492
Add domain_description to the same domains array.
2014-02-25 06:00:40 +00:00
Mark Crane
ad9473f4af
Get rid of the trailing spaces.
2013-09-27 03:34:23 +00:00
Mark Crane
3a58d1e08d
Move references to php classes in includes/classes to resource/classes.
2013-07-06 07:13:36 +00:00
Mark Crane
94e301eb98
Move pdo.php to the resources directory.
2013-07-06 06:49:36 +00:00