summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/general/common_functions.rst
AgeCommit message (Collapse)AuthorFilesLines
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-2/+2
2012-11-09Polish the Common functions documentationAndrey Andreev1-31/+119
2012-11-07Added function_usable() to common functionsAndrey Andreev1-1/+14
It is now used to check whether dangerous functions like eval() and exec() are available. It appears that the Suhosin extension (which is becoming popular) terminates script execution instead of returning e.g. FALSE when it has a function blacklisted. function_exists() checks are insufficient and our only option is to check the ini settings here. Filed an issue here: https://github.com/stefanesser/suhosin/issues/18 ... hopefully we'll be able to deal with this in a more elegant way in the future. (this commit supersedes PR #1809)
2012-11-04Fix #708Andrey Andreev1-4/+8
2012-10-22Add is_https() as a common functionAndrey Andreev1-10/+16
2012-06-05Added get_mimes() function to system/core/Commons.php.The MIMEs array from ↵Andrey Andreev1-0/+5
config/mimes.php is used by multiple core classes, libraries and helpers and each of them has implemented an own way of getting it, which is not needed and is hard to maintain. This also fixes issue #1411
2011-10-06fixing code spacing in Common and CLI docsDerek Jones1-7/+17
2011-10-05replacing the old HTML user guide with a Sphinx-managed user guideDerek Jones1-0/+71