Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- exec( 'ls', $output );
- if ( empty($output) ) {
- $this->showError();
- die;
- }
- ------
- private function showError()
- {
- echo('
- You must run the script using "Git bash" or other proper console emulator
- ');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement