$protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://";
- $url = $protocol . $_SERVER['HTTP_HOST'] . $roo->rootURL .'/'. $basePHP . $pl;
+ $url = $protocol . $_SERVER['HTTP_HOST'] . $this->rootURL .'/'. $basePHP . $pl;
- $file = $this->getStoreName();
+ $file = $cms_page->getStoreName();
//var_dump(array(file_exists($file) , date('Y-m-d H:i:s', strtotime($this->updated)) , date('Y-m-d H:i:s', filemtime($file))));
if(file_exists($file) && strtotime($this->updated) < filemtime($file)){