Skip to content

Commit

Permalink
Fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Aug 6, 2017
1 parent f5b9a64 commit f9d6b9e
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 f9d6b9e

Please sign in to comment.