Changeset bb2bfba


Ignore:
Timestamp:
03/06/2011 20:36:25 (11 years ago)
Author:
Eric van der Vlist <vdv@dyomedea.com>
Branches:
master
Children:
3c55dce
Parents:
b341683
git-author:
Eric van der Vlist <vdv@dyomedea.com> (03/06/2011 20:36:25)
git-committer:
Eric van der Vlist <vdv@dyomedea.com> (03/06/2011 20:36:25)
Message:

Checking that we can execute wget (no need of passthru for us).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wordpress/plugins/owark/owark.php

    rb341683 rbb2bfba  
    133133            if ( ini_get('disable_functions') ) { 
    134134                $not_allowed = ini_get('disable_functions'); 
    135                 if ( stristr($not_allowed, 'exec') || stristr($not_allowed, 'passthru') ) { 
    136                     $this->notices = $this->notices . "<div class=\"error fade\"><p><strong>The Open Web Archives requires that exec() and passthru() are allowed to run wget and retrieve the pages to archive.</strong></p></div>"; 
     135                if ( stristr($not_allowed, 'exec') ) { 
     136                    $this->notices = $this->notices . "<div class=\"error fade\"><p><strong>The Open Web Archives requires that exec() is allowed to run wget and retrieve the pages to archive.</strong></p></div>"; 
    137137               } 
    138138            } 
Note: See TracChangeset for help on using the changeset viewer.