Commit Graph

14 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 e21c6f165d
Not used anywhere so removing it $document_root_parent 2020-05-26 19:59:58 -06:00
FusionPBX 65806db347
Get rid of an old reference to get_magic_quotes_gpc it was checking to see if it was enabled. 2020-05-26 19:56:36 -06:00
FusionPBX db7f51e09e Update php.php 2019-09-25 15:19:47 -06:00
FusionPBX 76f86d1b59 Update php.php 2017-04-25 00:09:53 -06:00
FusionPBX 8a371ce04f Add function_exists to session_start. 2017-04-25 00:06:41 -06:00
FusionPBX af432eb467 Update php.php 2016-12-11 22:59:48 -07:00
markjcrane 20564c108f Remove the error reporting in the include php.php. 2016-05-11 13:18:39 -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
markjcrane 5da1286329 Add session cookie httponly and set it to true. 2015-12-21 20:52:54 -07:00
markjcrane 0a41b069fc Add a new default settings -> security -> session_rotate. 2015-08-21 11:21:08 -06:00
Mark Crane 09f7868e36 Fix a missing comma. 2015-03-10 10:41:26 +00:00
Mark Crane 968b134b32 Update the seesion every 8 hours isntead of every 30 minutes. 2014-02-08 09:38:44 +00:00
Mark Crane d1cf4a7bd9 Move php.php to the resources directory. 2013-07-06 06:54:10 +00:00