ENVIRONMENT
Set up the WIKINDX server environment
version | 1 |
---|---|
package | wikindx4\core\startup |
author | Mark Grimshaw |
__construct()
startSession()
checkFolders()
checkFoldersDie(array $array)
array
An array of folders or filenames and their incorrect permissions
getVars()
Use $vars = GLOBALS::getVars(); to get querystrings and form elements
magicSlashes(string $element) : string
We now know what we're dealing with and can code accordingly.
string
string
runConfig()
setBasicEnvironment()
Check PHP version, set browser header, set set_magic_quotes_runtime(), buffer printing and attempt to set PHP memory.
stripHtmlTags(string $element) : string
Since adding tiny_mce, we only strip javascript and the enclosing
<
p> tag tinymce adds
string
string
$config
$errors