Subversion Repositories SmartDukaan

Rev

Rev 13532 | Rev 13567 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13532 Rev 13565
Line 109... Line 109...
109
    function afterFilter() {
109
    function afterFilter() {
110
	$result['ucadcode'] = $this->ucadcode;
110
	$result['ucadcode'] = $this->ucadcode;
111
    }
111
    }
112
 
112
 
113
    function beforeRender() {    	
113
    function beforeRender() {    	
114
        $this->set('base_url', 'http://' . $_SERVER['SERVER_NAME'] . Router::url('/'));
114
        // $this->set('base_url', 'http://' . $_SERVER['SERVER_NAME'] . Router::url('/'));
-
 
115
        $this->set('base_url', 'http://api.profittill.com/');
115
    }
116
    }
116
}
117
}
117
 
118
 
118
if (!function_exists('getallheaders')) 
119
if (!function_exists('getallheaders')) 
119
{ 
120
{