Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hidden files #65

Open
hataman opened this issue Oct 29, 2022 · 2 comments
Open

hidden files #65

hataman opened this issue Oct 29, 2022 · 2 comments

Comments

@hataman
Copy link

hataman commented Oct 29, 2022

Hi. How can i edit hidden files like .htaccess ?

@hamidsamak
Copy link
Collaborator

Hi @hataman,
Dotfiles are supposed to be hidden in web servers by default. There is no option to edit dotfiles in Pheditor.

@thach-eta
Copy link

@hataman @hamidsamak

I fixed this problem like this:

  1. set SHOW_HIDDEN_FILE = true at line 21
  2. edit line 210 to:
    if ((!SHOW_HIDDEN_FILES && substr($file, 0, 1) === '.') || (SHOW_PHP_SELF === false && $dir . DS . $file == __FILE__)) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants