mirror of
https://github.com/joomla-docker/docker-joomla.git
synced 2025-01-27 09:08:32 +00:00
Forgot the .htaccess copy
This commit is contained in:
parent
4ed97b851d
commit
ba5df1da80
@ -43,6 +43,13 @@ if ! [ -e index.php -a -e libraries/cms/version/version.php ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
tar cf - --one-file-system -C /usr/src/joomla . | tar xf -
|
tar cf - --one-file-system -C /usr/src/joomla . | tar xf -
|
||||||
|
|
||||||
|
if [ ! -e .htaccess ]; then
|
||||||
|
# NOTE: The "Indexes" option is disabled in the php:apache base image so we use a customized .htaccess
|
||||||
|
cp /joomla-htaccess .htaccess
|
||||||
|
chown www-data:www-data .htaccess
|
||||||
|
fi
|
||||||
|
|
||||||
echo >&2 "Complete! Joomla has been successfully copied to $(pwd)"
|
echo >&2 "Complete! Joomla has been successfully copied to $(pwd)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -43,6 +43,13 @@ if ! [ -e index.php -a -e libraries/cms/version/version.php ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
tar cf - --one-file-system -C /usr/src/joomla . | tar xf -
|
tar cf - --one-file-system -C /usr/src/joomla . | tar xf -
|
||||||
|
|
||||||
|
if [ ! -e .htaccess ]; then
|
||||||
|
# NOTE: The "Indexes" option is disabled in the php:apache base image so we use a customized .htaccess
|
||||||
|
cp /joomla-htaccess .htaccess
|
||||||
|
chown www-data:www-data .htaccess
|
||||||
|
fi
|
||||||
|
|
||||||
echo >&2 "Complete! Joomla has been successfully copied to $(pwd)"
|
echo >&2 "Complete! Joomla has been successfully copied to $(pwd)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -43,6 +43,13 @@ if ! [ -e index.php -a -e libraries/cms/version/version.php ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
tar cf - --one-file-system -C /usr/src/joomla . | tar xf -
|
tar cf - --one-file-system -C /usr/src/joomla . | tar xf -
|
||||||
|
|
||||||
|
if [ ! -e .htaccess ]; then
|
||||||
|
# NOTE: The "Indexes" option is disabled in the php:apache base image so we use a customized .htaccess
|
||||||
|
cp /joomla-htaccess .htaccess
|
||||||
|
chown www-data:www-data .htaccess
|
||||||
|
fi
|
||||||
|
|
||||||
echo >&2 "Complete! Joomla has been successfully copied to $(pwd)"
|
echo >&2 "Complete! Joomla has been successfully copied to $(pwd)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user