JN-Jones / web-artisan

A package for Laravel 4 top interact with the CLI
54 stars 11 forks source link

Possibility to deactivate ip filtering #15

Open jungle-gecko opened 9 years ago

jungle-gecko commented 9 years ago

It would be great to allow deactivating ip filtering. I managed to do that with replacing the line 118 in Cmd.php controller by: if (sizeof(config('web-artisan.ips')) > 0 && !in_array(@$_SERVER['REMOTE_ADDR'], config('web-artisan.ips')))