Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

File prefix

edited March 2006 in Vanilla 1.0 Help
I know the filebrowser was previously change from using . as a file prefix for config stuff/thumbnails to now using _ as . caused an issue on some unix systems, but for some reason my new hosting setup (running cpanel) wont let me view files prefixed with _. I also know that filebrowser isnt being touched code-wise for quite some time, but if i could put in a kind request next time you are playing with it to make the prefix a config option it'd be much appreciated mark. Alternativly/in the mean time if anyone would like to provide me with some code changes it'd be nice.

Comments

  • Options
    edited March 2006
    The line in question looks like this:

    if ($Config->DisplayHiddenFiles == "false" && substr($Item,0,1) == "_") $RecordItem = false;

    Sorry I can't give you a linenumber.

    Also, remember to change any references to hidden files (like _config.xml) to their new name.
  • Options
    Handy. Any clues for the thumbnailer?
  • Options
    edited March 2006
    } elseif (substr($Item,0,1) == "_") { // Ignore "hidden" files
This discussion has been closed.