We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60a4195 commit f6a1ed7Copy full SHA for f6a1ed7
1 file changed
src/Installer.php
@@ -43,15 +43,16 @@ public static function postInstall(Event $event = null)
43
$contents
44
);
45
file_put_contents($file, $contents);
46
-
47
- // Enable Composer Autoloader AND 'index_page' is blank
+
+ // Enable Composer Autoloader
48
$file = 'application/config/config.php';
49
$contents = file_get_contents($file);
50
$contents = str_replace(
51
'$config[\'composer_autoload\'] = FALSE;',
52
'$config[\'composer_autoload\'] = realpath(APPPATH . \'../vendor/autoload.php\');',
53
54
55
+ // Set 'index_page' blank
56
57
'$config[\'index_page\'] = \'index.php\';',
58
'$config[\'index_page\'] = \'\';',
0 commit comments