From 3c0d2b20b9cd7871369144663c88e95aee0d229a Mon Sep 17 00:00:00 2001 From: luckyjay Date: Sat, 9 Jan 2016 22:31:03 -0500 Subject: [PATCH] Removed exit command from renderPagePHANTOMJS() Assume this was a complete mistake and needed to be removed - phantomjs render would never work since the function would exit before running the phantomjs command. --- http2pic.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/http2pic.class.php b/http2pic.class.php index 54d5f35..3954e9c 100644 --- a/http2pic.class.php +++ b/http2pic.class.php @@ -155,7 +155,6 @@ class http2pic $cmd.= ','.$this->params['js']; $cmd = escapeshellcmd($cmd); - exit($cmd); shell_exec($cmd); $this->params['cmd'] = $cmd; @@ -304,4 +303,4 @@ class http2pic return true; return false; } -} \ No newline at end of file +}