ℹ️
Welcome to the archive of the old FlatPress support forum. Browse more than a decade of FlatPress wisdom! Login is disabled.

The current FlatPress support forum is available here: forum.flatpress.org
Questions about core.filesystem.php
  • Hi, I have some questions about core.filesystem.php: 1) What does fs_list_dirs do? 2) In a comment of fs_delete before return 2 there is written "we'll return a value != true" but a simple script: var_dump(2==true); // Prints bool(true)
  • pierovdfn said: 1) What does fs_list_dirs do?

    it should return a list of files... I don't even know if it's used anymore; the call to lang_id looks like a bad copy/paste
    pierovdfn said: 2) In a comment of fs_delete before return 2 there is written "we'll return a value != true"

    it was probably meant to read "!=false"
Add a Comment
Start a New Discussion

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion