// fix installer

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9640 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-10-25 15:54:04 +00:00
parent dd52ff9253
commit 861a84dbe8
2 changed files with 13 additions and 12 deletions
+1
View File
@@ -74,6 +74,7 @@ define('INSTALLER__PS_BASE_URI_ABSOLUTE', 'http://'.ToolsInstall::getHttpHost(fa
// XML Header // XML Header
header('Content-Type: text/xml'); header('Content-Type: text/xml');
define('_PS_ROOT_DIR_', realpath(INSTALL_PATH.'/../'));
// Switching method // Switching method
if (isset($_GET['method'])) if (isset($_GET['method']))
{ {
+12 -12
View File
@@ -39,18 +39,18 @@ $tests = array(
'system' => $funcs, 'system' => $funcs,
'gd' => false, 'gd' => false,
'mysql_support' => false, 'mysql_support' => false,
'config_dir' => INSTALL_PATH.'/../config/', 'config_dir' => 'config',
'cache_dir' => INSTALL_PATH.'/../cache/', 'cache_dir' => 'cache',
'sitemap' => INSTALL_PATH.'/../sitemap.xml', 'sitemap' => 'sitemap.xml',
'log_dir' => INSTALL_PATH.'/../log/', 'log_dir' => 'log',
'img_dir' => INSTALL_PATH.'/../img/', 'img_dir' => 'img',
'mails_dir' => INSTALL_PATH.'/../mails/', 'mails_dir' => 'mails/',
'module_dir' => INSTALL_PATH.'/../modules/', 'module_dir' => 'modules/',
'theme_lang_dir' => INSTALL_PATH.'/../themes/prestashop/lang/', 'theme_lang_dir' => 'themes/prestashop/lang',
'theme_cache_dir' => INSTALL_PATH.'/../themes/prestashop/cache/', 'theme_cache_dir' => 'themes/prestashop/cache',
'translations_dir' => INSTALL_PATH.'/../translations/', 'translations_dir' => 'translations',
'customizable_products_dir' => INSTALL_PATH.'/../upload/', 'customizable_products_dir' => 'upload',
'virtual_products_dir' => INSTALL_PATH.'/../download/', 'virtual_products_dir' => 'download',
); );
$tests_op = array( $tests_op = array(
'fopen' => false, 'fopen' => false,