Commit Graph

31 Commits

Author SHA1 Message Date
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