Skip to content

Commit

Permalink
Cleanup comments to comply with coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil E. Taylor committed Aug 15, 2021
1 parent c857f33 commit 897f623
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions installation/includes/framework.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,10 @@

defined('_JEXEC') or die;

/*
* Joomla system checks.
*/

// Ensure sensible default for JDEBUG is set.
const JDEBUG = false;

/*
* Check if a configuration file already exists.
*/

// Check if a configuration file already exists.
if (file_exists(JPATH_CONFIGURATION . '/configuration.php')
&& (filesize(JPATH_CONFIGURATION . '/configuration.php') > 10)
&& !file_exists(JPATH_INSTALLATION . '/index.php'))
Expand All @@ -27,16 +21,12 @@
exit();
}

/*
* Joomla system startup.
*/

// Import the Joomla Platform.
require_once JPATH_LIBRARIES . '/bootstrap.php';

// If debug mode enabled, set new Exception handler with debug enabled.
if (JDEBUG)
{
// Set new Exception handler with debug enabled
$errorHandler->setExceptionHandler(
[
new \Symfony\Component\ErrorHandler\ErrorHandler(null, true),
Expand Down

0 comments on commit 897f623

Please sign in to comment.