client side of distributed subscription almost complete
darcs-hash:20080527114219-84dde-784ddf4d4650c17bc7a1e3e01219c6948dfc9b3d.gz
This commit is contained in:
@@ -439,6 +439,14 @@ function common_mint_tag($extra) {
|
||||
$config['tag']['date'].':'.$config['tag']['prefix'].$extra;
|
||||
}
|
||||
|
||||
# Should make up a reasonable root URL
|
||||
|
||||
function common_root_url() {
|
||||
global $config;
|
||||
$pathpart = ($config['site']['path']) ? $config['site']['path']."/" : '';
|
||||
return "http://".$config['site']['server'].'/'.$pathpart;
|
||||
}
|
||||
|
||||
// XXX: set up gettext
|
||||
|
||||
function _t($str) {
|
||||
|
Reference in New Issue
Block a user