From bb2bfbace304b52151bf2fe4470fa1edd5ff3d4b Mon Sep 17 00:00:00 2001 From: Eric van der Vlist Date: Fri, 3 Jun 2011 20:36:25 +0200 Subject: [PATCH] Checking that we can execute wget (no need of passthru for us). --- wordpress/plugins/owark/owark.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wordpress/plugins/owark/owark.php b/wordpress/plugins/owark/owark.php index 11c8e7a..f60ad77 100644 --- a/wordpress/plugins/owark/owark.php +++ b/wordpress/plugins/owark/owark.php @@ -132,8 +132,8 @@ if (!class_exists("Owark")) { if ( ini_get('disable_functions') ) { $not_allowed = ini_get('disable_functions'); - if ( stristr($not_allowed, 'exec') || stristr($not_allowed, 'passthru') ) { - $this->notices = $this->notices . "

The Open Web Archives requires that exec() and passthru() are allowed to run wget and retrieve the pages to archive.

"; + if ( stristr($not_allowed, 'exec') ) { + $this->notices = $this->notices . "

The Open Web Archives requires that exec() is allowed to run wget and retrieve the pages to archive.

"; } }