Aleksander Machniak
2013-06-09 60b6d7c3894f61eb9c8bc40efe5528e91386bf94
program/include/rcmail_output_html.php
@@ -67,6 +67,7 @@
        //$this->framed = $framed;
        $this->set_env('task', $task);
        $this->set_env('x_frame_options', $this->config->get('x_frame_options', 'sameorigin'));
        $this->set_env('standard_windows', (bool) $this->config->get('standard_windows'));
        // add cookie info
        $this->set_env('cookie_domain', ini_get('session.cookie_domain'));
@@ -655,7 +656,7 @@
    protected function file_callback($matches)
    {
        $file = $matches[3];
        $file[0] = preg_replace('!^/this/!', '/', $file[0]);
        $file = preg_replace('!^/this/!', '/', $file);
        // correct absolute paths
        if ($file[0] == '/') {