File tree Expand file tree Collapse file tree 4 files changed +10
-201
lines changed
Expand file tree Collapse file tree 4 files changed +10
-201
lines changed Original file line number Diff line number Diff line change 4343 " helper/UrlHelper.php" ,
4444 " helper/ValidationHelper.php" ,
4545 " includes/pakeFunction.php" ,
46- " includes/util.php"
46+ " includes/util.php" ,
4747 ],
4848 "classmap" : [
4949 " lib/"
5050 ]
5151 },
52+ "bin" : [
53+ " /data/bin/symfony.php"
54+ ],
5255 "require-dev" : {
5356 "rector/rector" : " ^0.11.60"
5457 },
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44/*
55 * This file is part of the symfony package.
66 * (c) 2004-2006 Fabien Potencier <[email protected] > 7- *
7+ *
88 * For the full copyright and license information, please view the LICENSE
99 * file that was distributed with this source code.
1010 */
@@ -17,23 +17,12 @@ if (file_exists('config/config.php'))
1717
1818if (!isset ($ sf_symfony_lib_dir ))
1919{
20- if (is_readable (dirname (__FILE__ ).'/../../lib/VERSION ' ))
21- {
22- // SVN
23- $ sf_symfony_lib_dir = realpath (dirname (__FILE__ ).'/../../lib ' );
24- $ sf_symfony_data_dir = realpath (dirname (__FILE__ ).'/.. ' );
25- }
26- else
27- {
28- // PEAR
29- $ sf_symfony_lib_dir = '@PEAR-DIR@/symfony ' ;
30- $ sf_symfony_data_dir = '@DATA-DIR@/symfony ' ;
20+ throw new Exception ('Unable to find symfony libraries due to missing config $sf_symfony_lib_dir ' );
21+ }
3122
32- if (!is_dir ($ sf_symfony_lib_dir ))
33- {
34- throw new Exception ('Unable to find symfony libraries ' );
35- }
36- }
23+ if (!isset ($ sf_symfony_data_dir ))
24+ {
25+ throw new Exception ('Unable to find symfony libraries due to missing config $sf_symfony_data_dir ' );
3726}
3827
3928include ($ sf_symfony_data_dir .'/bin/symfony.php ' );
You can’t perform that action at this time.
0 commit comments