Beispiel #1
0
 public function __construct($file)
 {
     // Define path to application directory
     Config::write('BASE_PATH', $file);
     Config::write('APP_PATH', $file . '/../app');
     Config::write('SITE_NAME', 'Marketing Evolution');
     Config::write('SITE_URL', 'http://marketingevolution.com');
     //invoke the rest object.
     $rest = new \kiss\Rest();
     //Return response to context
     $this->response = $rest->response();
 }
Beispiel #2
0
 protected function _initRest()
 {
     //invoke the rest object.
     $rest = new \kiss\Rest();
     //Return response to context
     $this->response = $rest->response();
 }