#!/bin/sh
# Copyright (c) 2000-2015 Synology Inc. All rights reserved.

PKG_DIR=mantisbt
CONFIG_FILE=config_inc.php
INSTALL_FILE=admin/install.php
WEBSITE_ROOT=/var/services/web/mantisbt
PKG_VERSION="$(echo "$SYNOPKG_PKGVER" | cut -d- -f2)"
TEMP_PATH="$SYNOPKG_PKGDEST_VOL/@appstore/.mantisbt"
PKG_HIDDEN_CONF_FILE=/var/packages/.mantisbt
PKG_CONF_FILE="/var/packages/$SYNOPKG_PKGNAME/user.conf"
PHP_CONF_DIR=/usr/local/etc/php56/conf.d
PHP_INI_FILE=SYNO.SDS.MantisBT.ini
[ -f /var/packages/MariaDB/enabled ] && RunMySQL=yes || RunMySQL=no
MYSQL=/usr/bin/mysql
MARIADB_HOOK_DIR=/usr/local/libexec/mariadb_chpw
BACKUP_FILES="config_inc.php custom_strings_inc.php custom_constants_inc.php custom_functions_inc.php"
PHP_FPM=pkg-php56-fpm
NGINX_CONF_FILE=www.MantisBT.conf
NGINX_DISABLED_CONF_FILE=www.MantisBT.disabled.conf
NGINX_CONF_DIR=/usr/local/etc/nginx/conf.d
NGINX=nginx
