| | |
| | | //$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')); |
| | |
| | | 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] == '/') { |