further timeout refinements
parent
5fcb79c637
commit
f9d9460c53
Binary file not shown.
|
@ -2,7 +2,7 @@ bcdbfc0c658bcc641a809f45808fbd95 ./Apps.page
|
||||||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||||
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
||||||
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
||||||
69837040d99db6ace79fa8c995579b52 ./include/exec.php
|
215a78bda8752c4356e4eda79518fe03 ./include/exec.php
|
||||||
f25b1ed0b1cddfb4ff95a10ced212a0d ./include/helpers.php
|
f25b1ed0b1cddfb4ff95a10ced212a0d ./include/helpers.php
|
||||||
116042a918060278e77379b0dd73482c ./include/paths.php
|
116042a918060278e77379b0dd73482c ./include/paths.php
|
||||||
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
|
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
|
||||||
|
|
|
@ -908,7 +908,7 @@ function force_update() {
|
||||||
@unlink($caPaths['lastUpdated']);
|
@unlink($caPaths['lastUpdated']);
|
||||||
$latestUpdate = download_json($caPaths['application-feed-last-updated'],$caPaths['lastUpdated'],"",5);
|
$latestUpdate = download_json($caPaths['application-feed-last-updated'],$caPaths['lastUpdated'],"",5);
|
||||||
if ( ! $latestUpdate['last_updated_timestamp'] )
|
if ( ! $latestUpdate['last_updated_timestamp'] )
|
||||||
$latestUpdate = download_json($caPaths['application-feed-last-updatedBackup'],$caPaths['lastUpdated']);
|
$latestUpdate = download_json($caPaths['application-feed-last-updatedBackup'],$caPaths['lastUpdated'],"",5);
|
||||||
|
|
||||||
if ( ! $latestUpdate['last_updated_timestamp'] ) {
|
if ( ! $latestUpdate['last_updated_timestamp'] ) {
|
||||||
$latestUpdate['last_updated_timestamp'] = INF;
|
$latestUpdate['last_updated_timestamp'] = INF;
|
||||||
|
@ -2447,7 +2447,8 @@ function saveMultiPluginPending() {
|
||||||
function downloadStatistics() {
|
function downloadStatistics() {
|
||||||
global $caPaths;
|
global $caPaths;
|
||||||
|
|
||||||
download_json($caPaths['statisticsURL'],$caPaths['statistics']);
|
if ( ! is_file($caPaths['statistics']) )
|
||||||
|
download_json($caPaths['statisticsURL'],$caPaths['statistics']);
|
||||||
}
|
}
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
#!/usr/bin/php
|
|
||||||
<?
|
|
||||||
###############################################################
|
|
||||||
# #
|
|
||||||
# Community Applications copyright 2015-2022, Andrew Zawadzki #
|
|
||||||
# Licenced under GPLv2 #
|
|
||||||
# #
|
|
||||||
###############################################################
|
|
||||||
if ( $argv[1] == "check" || $argv[1] == "checkall" )
|
|
||||||
return;
|
|
||||||
echo "Executing Community Applications Post-Plugin Settings\n";
|
|
||||||
@unlink("/tmp/community.applications/pluginPending/{$argv[2]}");
|
|
||||||
echo "Finished";
|
|
||||||
?>
|
|
|
@ -1,21 +0,0 @@
|
||||||
#!/usr/bin/php
|
|
||||||
<?
|
|
||||||
###############################################################
|
|
||||||
# #
|
|
||||||
# Community Applications copyright 2015-2022, Andrew Zawadzki #
|
|
||||||
# Licenced under GPLv2 #
|
|
||||||
# #
|
|
||||||
###############################################################
|
|
||||||
if ( $argv[1] == "check" || $argv[1] == "checkall" )
|
|
||||||
return;
|
|
||||||
|
|
||||||
echo "Executing Community Applications Pre-Plugin Settings\n";
|
|
||||||
@mkdir("/tmp/community.applications/pluginPending",0777,true);
|
|
||||||
touch("/tmp/community.applications/pluginPending/{$argv[2]}");
|
|
||||||
if ( $argv[1] == "update" ) {
|
|
||||||
if ( is_file("/var/log/plugins/{$argv[2]}") )
|
|
||||||
passthru("/usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin check ".escapeshellarg($argv[2]));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
Loading…
Reference in New Issue