Mini Shell
#!/usr/local/cpanel/3rdparty/bin/perl
# cpanel - php-cli Copyright 2018 cPanel, L.L.C.
# All rights Reserved.
# copyright@cpanel.net http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
package ea_php_cli::cli;
BEGIN {
delete @ENV{qw(PERL5LIB PERLLIB PERL5OPT PERL5DB PERL5SHELL PERL_DEBUG_MSTATS PERL_DESTRUCT_LEVEL)}; # Paranoid much?
unshift @INC, '/var/cpanel/ea4'; # avoid slow use lib
}
use strict;
use warnings;
use ea_php_cli ();
my $bin = "php";
run(@ARGV) unless caller();
sub run {
return ea_php_cli::run( $bin, @_ ); # faster than unshift @_, "php-cgi"; goto &ea_php_cli::run; ?
}
1;
Zerion Mini Shell 1.0