Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

Commit

Permalink
Use set_time_limit instead of max_execution_time
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Feb 11, 2017
1 parent 4de1ee2 commit db789bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smapi.php
Expand Up @@ -301,7 +301,7 @@ function findEpisodeMediaMetadata($id, $favorite) {
}
}

ini_set("max_execution_time", "10");
set_time_limit(10);
ini_set("soap.wsdl_cache_enabled", "0");
$server = new SoapServer('Sonos.wsdl');
$server->setClass('Sonos');
Expand Down

0 comments on commit db789bd

Please sign in to comment.