protected function isInitialPath($file)
    {
        $current_path = gplcart_path_normalize($file->getRealPath());
        $initial_path = gplcart_path_normalize($this->scanner->getInitialPath(true));

        return $current_path === $initial_path;
    }
protected function isInitialPath($file)
    {
        $current_path = gplcart_path_normalize($file->getRealPath());
        $initial_path = gplcart_path_normalize($this->scanner->getInitialPath(true));

        return $current_path === $initial_path;
    }
protected function isInitialPath ( $ file ) { $ current_path = gplcart_path_normalize ( $ file -> getRealPath ( ) ) ; $ initial_path = gplcart_path_normalize ( $ this -> scanner -> getInitialPath ( true ) ) ; return $ current_path === $ initial_path ; }
Whether the current file is the initial file manager path
@param \SplFileInfo $file
@return bool
Whether the current file is the initial file manager path