We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7dacac7 + 9037b6d commit 7a9378aCopy full SHA for 7a9378a
virtualhost.sh
@@ -33,7 +33,7 @@ do
33
done
34
35
if [ "$rootDir" == "" ]; then
36
- rootdir=${domain//./}
+ rootDir=${domain//./}
37
fi
38
39
### if root dir starts with '/', don't use /var/www as default starting point
@@ -60,7 +60,7 @@ if [ "$action" == 'create' ]
60
### write test file in the new domain dir
61
if ! echo "<?php echo phpinfo(); ?>" > $rootDir/phpinfo.php
62
then
63
- echo $"ERROR: Not able to write in file $userDir/$rootdir/phpinfo.php. Please check permissions"
+ echo $"ERROR: Not able to write in file $userDir/$rootDir/phpinfo.php. Please check permissions"
64
exit;
65
else
66
echo $"Added content to $rootDir/phpinfo.php"
0 commit comments