Skip to content

Commit

Permalink
Adding set_time_limit(0); to example.php and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jmathai committed Mar 6, 2015
1 parent 6246934 commit 1ebf723
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Installation is done via composer by adding the a dependency on jmathai/s3-bucke
## Usage
```php
// taken from examples/simple.php
// since large buckets may take lots of time we remove any time limits
set_time_limit(0);
require sprintf('%s/../vendor/autoload.php', __DIR__);

use S3BucketStreamZip\S3BucketStreamZip;
Expand Down
3 changes: 3 additions & 0 deletions examples/simple.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php
// since large buckets may take lots of time we remove any time limits
set_time_limit(0);

require sprintf('%s/../vendor/autoload.php', __DIR__);

use S3BucketStreamZip\S3BucketStreamZip;
Expand Down

0 comments on commit 1ebf723

Please sign in to comment.