File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ protected function getScript($request)
101
101
102
102
$ r = new \ReflectionClass ('\\Symfony \\Component \\ClassLoader \\ClassLoader ' );
103
103
$ requirePath = str_replace ("' " , "\\' " , $ r ->getFileName ());
104
- $ symfonyPath = str_replace ("' " , "\\' " , realpath ( __DIR__ . ' /../../.. ' ));
104
+ $ symfonyPath = str_replace ("' " , "\\' " , dirname ( dirname ( dirname ( __DIR__ )) ));
105
105
$ errorReporting = error_reporting ();
106
106
107
107
$ code = <<<EOF
Original file line number Diff line number Diff line change 178
178
$ compiler = new GenrbCompiler ($ genrb , $ genrbEnv );
179
179
$ config = new GeneratorConfig ($ sourceDir .'/data ' , $ icuVersionInDownload );
180
180
181
- // Don't wrap "/data" in realpath(), in case the directory does not exist
182
- $ baseDir = realpath (__DIR__ .'/.. ' ).'/data ' ;
181
+ $ baseDir = dirname (__DIR__ ).'/data ' ;
183
182
184
183
//$txtDir = $baseDir.'/txt';
185
184
$ jsonDir = $ baseDir ;
You can’t perform that action at this time.
0 commit comments