33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2025-01-23 07:08:33 +00:00

fix issues

This commit is contained in:
zero-24 2016-07-30 22:13:19 +02:00
parent e93bb384e8
commit a7cc928767

View File

@ -96,12 +96,12 @@ class PullModel extends \JModelDatabase
// Sometimes the repo filename is not the production file name
$prodfilename = $file->filename;
$filePath = explode('/', $repofilename);
$filePath = explode('/', $prodfilename);
// Remove the `src` here to match the CMS paths if needed
if ($filePath[0] === 'src')
{
$prodfilename = str_replace('src/', '', $file->filename);
$prodfilename = str_replace('src/', '', $prodfilename);
}
$parsedFiles[] = (object) array(