Added affiliate pages and email due invoices
This commit is contained in:
15
application/classes/controller/templatedefault/affiliate.php
Normal file
15
application/classes/controller/templatedefault/affiliate.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
/**
|
||||
* OSB User Main home page controller
|
||||
*
|
||||
* @package OSB
|
||||
* @subpackage Page/Affiliate
|
||||
* @category Controllers
|
||||
* @author Deon George
|
||||
* @copyright (c) 2010 Deon George
|
||||
* @license http://dev.leenooks.net/license.html
|
||||
*/
|
||||
class Controller_TemplateDefault_Affiliate extends Controller_TemplateDefault_User {
|
||||
}
|
||||
?>
|
@@ -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'];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user