diff --git a/data/bin/symfony b/data/bin/symfony index e8ccac14e..2deb8d0bf 100755 --- a/data/bin/symfony +++ b/data/bin/symfony @@ -4,34 +4,9 @@ /* * This file is part of the symfony package. * (c) Fabien Potencier - * + * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -// project exists? -if (file_exists('config/ProjectConfiguration.class.php')) -{ - require_once('config/ProjectConfiguration.class.php'); - $dir = sfCoreAutoload::getInstance()->getBaseDir(); -} -else -{ - if (is_readable(__DIR__.'/../../lib/autoload/sfCoreAutoload.class.php')) - { - // SVN - $dir = realpath(__DIR__.'/../../lib'); - } - else - { - // PEAR - $dir = '@PEAR-DIR@/symfony'; - - if (!is_dir($dir)) - { - throw new Exception('Unable to find symfony libraries'); - } - } -} - -include($dir.'/command/cli.php'); +include(__DIR__.'/../../lib/command/cli.php');