Added affiliate pages and email due invoices

This commit is contained in:
Deon George
2011-09-26 20:12:54 +10:00
parent cea949a2c4
commit f38acfe403
15 changed files with 531 additions and 28 deletions

View File

@@ -22,6 +22,10 @@ abstract class lnApp_Config extends Kohana_Config {
if (! $site = CLI::options('site'))
throw new Kohana_Exception(_('Cant figure out the site, use --site= for CLI'));
// @todo Need to move this to earlier into the processing stream.
// we can then do away with the test above.
$_SERVER['SERVER_NAME'] = $site['site'];
return $site['site'];
}