File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 */
5050class ComposerScripts
5151{
52- protected static $ basePath = 'system/ ThirdParty/ ' ;
52+ protected static $ basePath = 'ThirdParty/ ' ;
5353
5454 /**
5555 * After composer install/update, this is called to move
@@ -144,7 +144,7 @@ public static function moveEscaper()
144144 {
145145 if (class_exists ('\\Zend \\Escaper \\Escaper ' ) && is_file (static ::getClassFilePath ('\\Zend \\Escaper \\Escaper ' )))
146146 {
147- $ base = static ::$ basePath . 'ZendEscaper ' ;
147+ $ base = basename ( __DIR__ ) . ' / ' . static ::$ basePath . 'ZendEscaper ' ;
148148
149149 foreach ([$ base , $ base . '/Exception ' ] as $ path )
150150 {
@@ -183,7 +183,7 @@ public static function moveKint()
183183
184184 if (is_file ($ filename ))
185185 {
186- $ base = static ::$ basePath . 'Kint ' ;
186+ $ base = basename ( __DIR__ ) . ' / ' . static ::$ basePath . 'Kint ' ;
187187
188188 // Remove the contents of the previous Kint folder, if any.
189189 if (is_dir ($ base ))
You can’t perform that action at this time.
0 commit comments