Skip to content

Commit

Permalink
Merge pull request #28 from joomla-projects/fix-api-issues
Browse files Browse the repository at this point in the history
Fix undefined variable
  • Loading branch information
wilsonge authored Aug 6, 2017
2 parents 2788bdf + f9d6b9e commit 2b3c0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/includes/framework.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// Installation check, and check on removal of the install directory.
if (!file_exists(JPATH_CONFIGURATION . '/configuration.php')
|| (filesize(JPATH_CONFIGURATION . '/configuration.php') < 10)
|| (file_exists(JPATH_INSTALLATION . '/index.php') && (false === $version->isInDevelopmentState())))
|| (file_exists(JPATH_INSTALLATION . '/index.php') && (false === (new JVersion)->isInDevelopmentState())))
{
{
echo 'No configuration file found. Please ensure you have installed Joomla before using this application.';
Expand Down

0 comments on commit 2b3c0d8

Please sign in to comment.