Delete Unnecessary XAMPP htdocs folder on install

This commit is contained in:
Jeff Odegard 2018-09-19 10:52:17 -06:00 committed by GitHub
parent 881bf29ee5
commit 0931990735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,7 @@
REM - Jan 30, 2017 - Fixed error with copy of config-xampp-win.xml to config.xml where it required full path REM - Jan 30, 2017 - Fixed error with copy of config-xampp-win.xml to config.xml where it required full path
REM - Apr 5, 2017 - Added mkdir for \xampp\php\logs directory (not included when installed) REM - Apr 5, 2017 - Added mkdir for \xampp\php\logs directory (not included when installed)
REM - Jun 27, 2017 - Removed copy cgi-bin contents REM - Jun 27, 2017 - Removed copy cgi-bin contents
REM - Sep 19, 2018 - Deleting unnecessary C:\xampp\htdocs folder.
mkdir c:\xampp\php\logs mkdir c:\xampp\php\logs
@ -48,6 +49,9 @@ copy c:\xampp\www\conf\httpd-xampp.conf c:\xampp\apache\conf\extra
rename c:\xampp\php\php.ini php.ini.old rename c:\xampp\php\php.ini php.ini.old
copy c:\xampp\www\conf\php.ini c:\xampp\php copy c:\xampp\www\conf\php.ini c:\xampp\php
echo Deleting unnecessary C:\xampp\htdocs folder.
del /F /S /Q c:\xampp\htdocs
@echo Installing Apache service @echo Installing Apache service
c:\xampp\apache\bin\httpd -k install c:\xampp\apache\bin\httpd -k install
net start apache2.4 net start apache2.4