Commit Graph

20 Commits

Author SHA1 Message Date
frytimo d529021b3f
Use boolean setting as true boolean (#7284)
* use boolean setting as true boolean

* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.

* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.
2025-03-04 11:25:47 -07:00
FusionPBX cd8d5302ac
Fix temporary permissions 2024-11-29 13:57:01 -07:00
emak-Corey 434b691883
Add ability to set custom logout destination (#6806)
Allow administrators to set a custom default setting called logout_destination which will redirect the user to a destination of their choosing.
2023-09-28 09:35:50 -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
fusionate 47e0347195
Logout - Updates for PHP 8.1 2023-05-16 18:38:06 +00:00
markjcrane 00801b5b04 Add mutli-factor authentication. 2023-04-16 01:10:39 -06:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
Nate 677f830f01 Remove unnecessary permission object instatiations. 2019-08-30 19:29:04 -06:00
Nate 04c2f7a132 Misc: Database class integration. 2019-08-28 17:53:34 -06:00
FusionPBX 6e2b0f6dab Create logout.php 2017-06-10 08:45:41 -06:00
Harry G. Coin 8abe003a71 The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
reliberate ed2a209e23 Login: Undo disabling of Login Destination in User Settings when last destination not enabled. 2016-02-24 21:35:57 -07:00
Nate Jones b3cbbbfa7e Logout: Prevent SQL error on logout if already logged out in a different window/tab. 2015-04-12 19:48:29 +00:00
Nate Jones d18b4aacec Added ability to return (on login) to last visited page on logout. 2015-04-04 18:46:44 +00:00
Nate Jones ea4c77e81d Logout/Login: Clear session on login.php instead of logout.php - allows refresh to easily rotate background photos, if desired. 2014-07-26 19:37:29 +00:00
Mark Crane 8135feaf96 After logout redirect back to the login. 2013-02-02 06:53:35 +00:00
Mark Crane 282ba7ae9c Move logout.php to the root directory. 2013-01-13 12:23:03 +00:00
Mark Crane 0a1888fbf3 Move logout.php to the fusionpbx/resources directory. 2013-01-05 09:09:30 +00:00
Mark Crane 7c071045d0 Send the logout.php to the root of fusionpbx on the web server. 2013-01-05 09:08:19 +00:00
Mark Crane af103e9c41 Add a missing file sip_profile_copy.php to the dev branch. 2012-06-04 14:58:40 +00:00