diff --git a/setup/controllers/options.php b/setup/controllers/options.php index d8e416a5042..86ac8dc0c05 100644 --- a/setup/controllers/options.php +++ b/setup/controllers/options.php @@ -56,7 +56,7 @@ $parser->set('installmode',$installmode); $files_exist= 0; -if (file_exists(MODX_INSTALL_PATH . 'manager/index.php') && +if (file_exists(MODX_INSTALL_PATH . MODX_MANAGER_URL . '/index.php') && file_exists(MODX_INSTALL_PATH . 'index.php') && file_exists(MODX_INSTALL_PATH . 'connectors/index.php') ) {