31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-06-10 09:12:22 +00:00

Change check for CHANGELOG to index.php

This commit is contained in:
Michael Babker 2015-02-23 08:51:33 -05:00
parent d8199d4b65
commit 3b9c3fcbcd

View File

@ -92,7 +92,7 @@ class PullModel extends \JModelBase
* Check if the patch tester is running in a production environment
* If so, do not patch certain files as errors will be thrown
*/
if (!file_exists(JPATH_ROOT . '/installation/CHANGELOG'))
if (!file_exists(JPATH_ROOT . '/installation/index.php'))
{
$filePath = explode('/', $file->new);