Fix bug on PHP 5.4 and document the minimum version
This commit is contained in:
parent
be439a3eb9
commit
9c16b666f7
@ -35,7 +35,7 @@ Do you use Daux.io? Send me a pull request or open an [issue](https://github.com
|
|||||||
|
|
||||||
## Download
|
## Download
|
||||||
|
|
||||||
Download this repository as a zip, and unpack. Copy the files to a web server that can run PHP 5.3 or greater. You can also run the documentation locally using Grunt.js, which is covered at the end of this readme.
|
Download this repository as a zip, and unpack. Copy the files to a web server that can run PHP 5.4 or greater. You can also run the documentation locally using Grunt.js, which is covered at the end of this readme.
|
||||||
|
|
||||||
## Folders
|
## Folders
|
||||||
|
|
||||||
@ -280,7 +280,7 @@ Directory structure:
|
|||||||
|
|
||||||
## Running Remotely
|
## Running Remotely
|
||||||
|
|
||||||
Copy the files from the repo to a web server that can run PHP 5.3 or greater.
|
Copy the files from the repo to a web server that can run PHP 5.4 or greater.
|
||||||
|
|
||||||
## Running Locally
|
## Running Locally
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ class Builder
|
|||||||
*/
|
*/
|
||||||
public static function build($node, $ignore)
|
public static function build($node, $ignore)
|
||||||
{
|
{
|
||||||
if (!$it = new \FilesystemIterator($node->getPath())) {
|
if (($it = new \FilesystemIterator($node->getPath())) == false) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user