Empty commit

This commit is contained in:
Git 2014-03-02 08:00:33 +00:00
parent a010224baa
commit 37f397ba47

View File

@ -99,6 +99,15 @@ function display_array($Array, $Escape = array()) {
return $Array;
}
/**
* Print the site's URL including the appropriate URI scheme, including the trailing slash
*
* @param bool $SSL - whether the URL should be crafted for HTTPS or regular HTTP
*/
function site_url($SSL = true) {
return $SSL ? 'https://' . SSL_SITE_URL . '/' : 'http://' . NONSSL_SITE_URL . '/';
}
header('Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0');
header('Pragma:');
header('Expires: '.date('D, d M Y H:i:s', time() + (2 * 60 * 60)).' GMT');