wiki directory creation
This commit is contained in:
parent
ab5fc8ca9d
commit
949b4c9991
|
@ -263,9 +263,13 @@ function install_wiki {
|
|||
|
||||
ln -s /usr/share/dokuwiki /var/www/$WIKI_DOMAIN_NAME/htdocs
|
||||
|
||||
if [ ! -d /var/lib/dokuwiki/custom ]; then
|
||||
mkdir /var/lib/dokuwiki/custom
|
||||
fi
|
||||
cp /etc/dokuwiki/local.php.dist /var/lib/dokuwiki/custom/local.php
|
||||
if [ ! -f /etc/dokuwiki/local.php ]; then
|
||||
ln -s /var/lib/dokuwiki/custom/local.php /etc/dokuwiki/local.php
|
||||
fi
|
||||
|
||||
chown www-data /var/lib/dokuwiki/custom
|
||||
chown www-data /var/lib/dokuwiki/custom/local.php
|
||||
|
|
Loading…
Reference in New Issue