* @param string $file Optional file that the function must reside in.
*
* @return bool
- *
+ *
* @deprecated 1.8 A neat but pointless function
*/
function call_gatekeeper($function, $file = "") {
* searched.
*
* @return void
- *
+ *
* @deprecated 1.8 A neat but pointless function
*/
function callpath_gatekeeper($path, $include_subdirs = true, $strict_mode = false) {
elgg_deprecated_notice("callpath_gatekeeper() is neat but pointless", 1.8);
-
+
global $CONFIG;
$path = sanitise_string($path);
function ini_get_bool($ini_get_arg) {
$temp = ini_get($ini_get_arg);
- if ($temp == '1' or strtolower($temp) == 'on') {
+ if ($temp == '1' or strtolower($temp) == 'on' or strtolower($temp) == 'true') {
return true;
}
return false;
$css = substr($page[0], 0, strpos($page[0], '.'));
$return = elgg_view("css/$css");
-
+
header("Content-type: text/css", true);
header('Expires: ' . date('r', time() + 86400000), true);
header("Pragma: public", true);