We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48f51d9 commit e54ebabCopy full SHA for e54ebab
1 file changed
src/Installer.php
@@ -44,14 +44,19 @@ public static function postInstall(Event $event = null)
44
);
45
file_put_contents($file, $contents);
46
47
- // Enable Composer Autoloader
+ // Enable Composer Autoloader AND 'index_page' is blank
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
$contents
54
55
+ $contents = str_replace(
56
+ '$config[\'index_page\'] = \'index.php\';',
57
+ '$config[\'index_page\'] = \'\';',
58
+ $contents
59
+ );
60
61
62
copy('composer.json.dist', 'composer.json');
0 commit comments