The amazing re-appearing files

This commit is contained in:
Squidly271 2022-09-03 12:03:45 -04:00
parent c160a07bf6
commit d90e435b97
3 changed files with 0 additions and 35 deletions

View File

@ -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";
?>

View File

@ -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;
}
?>