Skip to content
Snippets Groups Projects
Commit caa26c11 authored by alvaro's avatar alvaro
Browse files

Again

parent 8c457e60
No related branches found
No related tags found
No related merge requests found
......@@ -113,8 +113,11 @@ echo "Created new configuration file: $settings_file"
echo ""
echo "WARNING: Copying $root_htaccess as .htaccess in parent directory"
echo ""
cp $root_htaccess $parent_htaccess
echo "RewriteEngine on" > $parent_htaccess
echo >> $parent_htaccess
echo "RewriteRule ^\$ $1/index.php [L]" >> $parent_htaccess
cat $root_htaccess >> $parent_htaccess
echo "RewriteRule ^(.+)\$ $lodspeakr_dir/index.php?q=\$1 [L]" >> $parent_htaccess
mkdir cache
echo
......
......@@ -19,8 +19,6 @@ if [ ! -e "$home" ]; then
$GIT clone $lodspeakr_repository
cd $home
./install.sh $lodspeakr_dir
cd ..
echo "RewriteRule ^(.+)\$ $lodspeakr_dir/index.php?q=\$1 [L]" >> .htaccess
else
else
echo "There is already an existing directory called '$home'. Installation cancelled. Remove it first and try again."
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment