File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed
Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change 33
44$ root = dirname (__DIR__ );
55
6- if (! is_file ( sprintf ( ' %s/vendor/autoload.php ' , $ root))) {
7- $ root = dirname ( __DIR__ , 4 ) ;
8- }
6+ echo $ root . "\n" ;
7+ echo __DIR__ . "\n" ;
8+ echo dirname ( __FILE__ ) . "\n" ;
99
10- require sprintf ('%s/vendor/autoload.php ' , $ root );
10+ // if (! is_file(sprintf('%s/vendor/autoload.php', $root))) {
11+ // $root = dirname(__DIR__, 4);
12+ // }
1113
12- use Symfony \Component \Console \Application ;
13- use Webteractive \Devstack \InitStack ;
14+ // require sprintf('%s/vendor/autoload.php', $root);
1415
15- $ application = new Application ();
1616
17- $ application ->add (new InitStack );
1817
19- $ application ->run ();
18+ // use Symfony\Component\Console\Application;
19+ // use Webteractive\Devstack\InitStack;
20+
21+ // $application = new Application();
22+
23+ // $application->add(new InitStack);
24+
25+ // $application->run();
You can’t perform that action at this time.
0 commit comments