package Cpanel::Easy::PHP5::DiscardPath;

# cpanel - Cpanel/Easy/PHP5/DiscardPath.pm        Copyright(c) 2011 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

our $easyconfig = {
    'name' => 'Discard Path',
    'note' => 'when running PHP as CGI you should disable this (or will be prompted to do so)',
    'step' => {
        '0' => {
            'name'    => 'to config options',
            'command' => sub {
                my ($self) = @_;
                $self->add_to_configure( { '--enable-discard-path' => '' } );
                return ( 1, 'Ok' );
            },

        },
    },
};

1;
