Created
August 28, 2012 16:11
-
-
Save DarkSmith/3499633 to your computer and use it in GitHub Desktop.
Zend Framework 2 Command Line shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
$applicationIndex = realpath(getcwd() . '/public/index.php'); | |
if (!empty($applicationIndex)) { | |
include $applicationIndex; | |
} else exit('You are not in a valid Zend Framework Application root directory'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment