This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function load_settings($force_refresh = FALSE, $return_all = FALSE) | |
{ | |
global $SESS, $DB, $REGX, $PREFS; | |
$settings = array(); | |
$site_id = $PREFS->ini('site_id'); | |
if( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function insert($at, $html) | |
{ | |
global $SESS; | |
$SESS->cache['lg'][LG_POL_addon_id]['snippets'][$at][] = $html; | |
} | |
function insert_css($css, $file = TRUE, $at = "head") | |
{ | |
if($file) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$routes = array( | |
array( | |
"route" => "^(.*)/addon/(.*)/tickets", | |
"template_group" => "site", | |
"template" => "archives", | |
"query_string" => "%1/%2/%3/%4" | |
) | |
); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -x /usr/libexec/path_helper ]; then | |
eval `/usr/libexec/path_helper -s` | |
fi | |
if [ "${BASH-no}" != "no" ]; then | |
[ -r /etc/bashrc ] && . /etc/bashrc | |
fi | |
#http://gist.github.com/31934 | |
NewerOlder