Edit index.php on install


This guide is applicable for OpenCart 1.5.x installation only.

1 Open index.php with your preferred text editor.

2 Find the following two lines (approximately line 220):

// Front Controller
$controller = new Front($registry);

3 Insert these two lines right after:

// TB
$controller->dispatch(new Action('common/tb_themes', array('front' => $controller)), new Action('error/not_found'));

4 Save the file

That’s it. Now you don’t have to replace index.php with the one provided in the Additional folder of the theme package.