Project

General

Profile

Bug #84

Refactor controller file

Added by Vasily Bezruchkin about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
July 04, 2012
Due date:
% Done:

100%

Estimated time:

Description

Please recheck main controller system.php file. It looks like there is obsolete/unnecessary code in it:

if (file_exists(IA_INCLUDES.'config.inc.local.php'))
{
    include IA_INCLUDES.'config.inc.local.php';
}
elseif (file_exists(IA_INCLUDES.'config.inc.php'))
{
    include IA_INCLUDES.'config.inc.php';
    if (!defined('INTELLI_DEBUG'))
    {
        $install = true;
    }
}
else
{
    $install = true;
}

I don't really this we need that check for local config file. Please comment the code where necessary and possible. Thanks

History

#1

Updated by Vasily Bezruchkin about 8 years ago

  • Description updated (diff)
#2

Updated by Vasily Bezruchkin about 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Fixed. Rev [2501]

Also available in: Atom PDF