Skip to content

Commit

Permalink
Fixed install generated $dolibarr_main_url_root_alt path
Browse files Browse the repository at this point in the history
We now use relative paths.
So let's remove the absolute part from the install generated configuration file.
  • Loading branch information
rdoursenaud committed Nov 29, 2013
1 parent 771d576 commit e245558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/install/etape1.php
Expand Up @@ -812,7 +812,7 @@ function write_conf_file($conffile)
fputs($fp, '$dolibarr_main_document_root=\''.str_replace("'","\'",($main_dir)).'\';');
fputs($fp,"\n");

fputs($fp, $main_use_alt_dir.'$dolibarr_main_url_root_alt=\''.str_replace("'","\'",($main_url."/".$main_alt_dir_name)).'\';');
fputs($fp, $main_use_alt_dir.'$dolibarr_main_url_root_alt=\''.str_replace("'","\'",("/".$main_alt_dir_name)).'\';');
fputs($fp,"\n");

fputs($fp, $main_use_alt_dir.'$dolibarr_main_document_root_alt=\''.str_replace("'","\'",($main_dir."/".$main_alt_dir_name)).'\';');
Expand Down

0 comments on commit e245558

Please sign in to comment.