partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 2275c99f386f07c438b1608ac636d5465ef0ad74
parent b45da46b35d0ba2558952f9d6c7036abae7dd420
Author: felicitus <felicitus@felicitus.org>
Date:   Tue, 27 Dec 2011 17:44:37 +0100

Add workaround to allow long footprint downloads pass through. This workaround stays as long as we don't have the datasheets in our local repository and/or have a better footprint setup mechanism

Diffstat:
Msrc/setup/setup.php | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/setup/setup.php b/src/setup/setup.php @@ -24,6 +24,12 @@ PartKeepr::initializeDoctrine(); $setup = new Setup(); try { + /** + * Workaround for the footprint setup to allow long downloads pass through + */ + if ($_REQUEST["step"] == "footprint") { + @set_time_limit(0); + } $setup->runStep($_REQUEST["step"]); echo json_encode(array("error" => false)); } catch (\Exception $e) {