From 2f1ccaef799ae97c540d6245c1c18c3f1dde6e7d Mon Sep 17 00:00:00 2001 From: Squidly271 Date: Sat, 11 Mar 2017 20:36:08 -0500 Subject: [PATCH] update date --- plugins/ca.turbo.plg | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/plugins/ca.turbo.plg b/plugins/ca.turbo.plg index 21fa378..feaab2a 100644 --- a/plugins/ca.turbo.plg +++ b/plugins/ca.turbo.plg @@ -2,7 +2,7 @@ - + @@ -57,16 +57,33 @@ The 'source' file. - + -mkdir -p /tmp/ca.docker.autostart -echo "" -echo "----------------------------------------------------" -echo " &name; has been installed." -echo " Copyright 2017, Andrew Zawadzki" -echo " Version: &version;" -echo "----------------------------------------------------" -echo "" + array("pipe", "r"), // stdin is a pipe that the child will read from + 1 => array("pipe", "w"), // stdout is a pipe that the child will write to + 2 => array("file", "/tmp/error-output.txt", "a") // stderr is a file to write to + ); + proc_open("/usr/local/emhttp/plugins/ca.turbo/scripts/auto_turbo.php",$descriptorspec,$pipes); + } + echo "\n"; + echo "----------------------------------------------------\n"; + echo " &name; has been installed.\n"; + echo " Copyright 2015-2016, Andrew Zawadzki\n"; + echo " Version: &version; blah $version\n"; + echo "----------------------------------------------------\n"; + echo "\n"; +]]> +?>