$tmp_opts = array(
// 'forceCompile' => true,
'site_prefix' => false,
+ 'multiSource' => true,
);
if (!empty($this->templateDir)) {
$tmp_opts['templateDir'] = $this->templateDir;
//print_R($tmp_opts);
// $tmp_opts['force'] = true;
- print_r($templateFile);exit;
$template = new HTML_Template_Flexy( $tmp_opts );
$template->compile('mail/'. $templateFile.'.txt');
}
function send($email = false)
{
+
$ff = HTML_FlexyFramework::get();
$pg = $ff->page;
}
require_once 'HTTP/Request.php';
- $a = new HTTP_Request($this->mapurl($url));
+
+ $real_url = str_replace(' ', '%20', $this->mapurl($url));
+ $a = new HTTP_Request($real_url);
$a->sendRequest();
$data = $a->getResponseBody();