protected function setFilePathEditor($encoded_filename)
    {
        $filepath = gplcart_string_decode($encoded_filename);
        $this->data_file = "{$this->data_module['directory']}/$filepath";

        if (!is_file($this->data_file) || !is_readable($this->data_file)) {
            $this->outputHttpStatus(404);
        }

        $this->data_extension = pathinfo($this->data_file, PATHINFO_EXTENSION);
    }
protected function setFilePathEditor($encoded_filename)
    {
        $filepath = gplcart_string_decode($encoded_filename);
        $this->data_file = "{$this->data_module['directory']}/$filepath";

        if (!is_file($this->data_file) || !is_readable($this->data_file)) {
            $this->outputHttpStatus(404);
        }

        $this->data_extension = pathinfo($this->data_file, PATHINFO_EXTENSION);
    }
protected function setFilePathEditor ( $ encoded_filename ) { $ filepath = gplcart_string_decode ( $ encoded_filename ) ; $ this -> data_file = "{$this->data_module['directory']}/$filepath" ; if ( ! is_file ( $ this -> data_file ) || ! is_readable ( $ this -> data_file ) ) { $ this -> outputHttpStatus ( 404 ) ; } $ this -> data_extension = pathinfo ( $ this -> data_file , PATHINFO_EXTENSION ) ; }
Returns a path to the file to be edited
@param string $encoded_filename URL encoded base64 hash
Returns a path to the file to be edited