Skip to content

Commit

Permalink
Fixed memry limit db restore
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Aug 17, 2016
1 parent 1c56376 commit 7854f97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
==============

1.0.2
-----------------
* Fixed memry limit db restore

1.0.1
-----------------
* Fixed https://github.com/skeeks-cms/cms/issues/24
Expand Down
1 change: 1 addition & 0 deletions DbDumperComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public function dump()
*/
public function restore($fileDumpSql = null)
{
ini_set("memory_limit","2048M");
ignore_user_abort(true);
set_time_limit(0);

Expand Down

0 comments on commit 7854f97

Please sign in to comment.