diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2011-06-01 12:15:26 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net ; true> | 2011-06-01 12:15:26 -0700 |
commit | 9ad57b3d8d1000f17962bb0ba00a8958b2f141db (patch) | |
tree | 515f444d429b999516e530e5d35fcaac6424f1a9 /htdocs/src/base.inc.php | |
parent | a070cbe9627fcc29ef2f91b8f7578080203e6ad1 (diff) |
Added scripts, email addresses, other minor modifications
Diffstat (limited to 'htdocs/src/base.inc.php')
-rw-r--r-- | htdocs/src/base.inc.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/htdocs/src/base.inc.php b/htdocs/src/base.inc.php index d7a9354..7d48ca7 100644 --- a/htdocs/src/base.inc.php +++ b/htdocs/src/base.inc.php @@ -41,5 +41,10 @@ function __autoload($class) { require_once "$class.inc.php"; } +function buildUrl($tail='') { + return 'http://' . $GLOBALS['CONFIG']['domain'] + . $GLOBALS['CONFIG']['urlroot'] . "/$tail"; +} + ?> |