mirror of
https://github.com/YunoHost-Apps/joomla_ynh.git
synced 2024-09-03 19:26:34 +02:00
cleaning
This commit is contained in:
parent
18b7b898b6
commit
790510f207
3 changed files with 5 additions and 7 deletions
|
@ -40,9 +40,9 @@ class JConfig
|
|||
/* Database Settings */
|
||||
public $dbtype = 'mysqli'; // Normally mysqli
|
||||
public $host = 'localhost'; // This is normally set to localhost
|
||||
public $user = '__DB_USER__'; // Database username
|
||||
public $password = '__DB_PWD__'; // Database password
|
||||
public $db = '__DB_NAME__'; // Database name
|
||||
public $user = '__DB_USER__'; // Database username
|
||||
public $password = '__DB_PWD__'; // Database password
|
||||
public $db = '__DB_NAME__'; // Database name
|
||||
public $dbprefix = 'jos_'; // Any random string ending with _
|
||||
public $dbencryption = 0;
|
||||
public $dbsslverifyservercert = false;
|
||||
|
@ -57,7 +57,7 @@ class JConfig
|
|||
public $error_reporting = 'default';
|
||||
public $helpurl = 'https://help.joomla.org/proxy?keyref=Help{major}{minor}:{keyref}&lang={langcode}';
|
||||
public $tmp_path = '/tmp'; // This path needs to be writable by Joomla!
|
||||
public $log_path = '/var/log/__APP__'; // This path needs to be writable by Joomla!
|
||||
public $log_path = '/var/log/__APP__'; // This path needs to be writable by Joomla!
|
||||
public $live_site = ''; // Optional, full URL to Joomla install.
|
||||
public $force_ssl = 0; // Force areas of the site to be SSL ONLY. 0 = None, 1 = Administrator, 2 = Both Site and Administrator
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ ram.runtime = "50M"
|
|||
main.url = "/"
|
||||
|
||||
[resources.apt]
|
||||
packages = "mariadb-server, php8.2-xml, php8.2-cli, php8.2-posix, php8.2-bz2, php8.2-zip, php8.2-memcache, php8.2-memcached, php8.2-ldap, php8.2-curl, php8.2-sockets, php8.2-mcrypt, php8.2-mysql, php8.2-gd, php8.2-fileinfo, php8.2-mbstring"
|
||||
packages = "mariadb-server, php8.2-xml, php8.2-cli, php8.2-posix, php8.2-bz2, php8.2-zip, php8.2-memcache, php8.2-memcached, php8.2-ldap, php8.2-curl, php8.2-sockets, php8.2-mcrypt, php8.2-mysql, php8.2-mysqli, php8.2-gd, php8.2-fileinfo, php8.2-mbstring"
|
||||
|
||||
[resources.database]
|
||||
type = "mysql"
|
||||
|
|
|
@ -62,8 +62,6 @@ chown $app:$app "$install_dir/configuration.php"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Setuping database..."
|
||||
|
||||
ynh_secure_remove --file="$install_dir/installation"
|
||||
|
||||
pushd "$install_dir/cli"
|
||||
php$phpversion joomla.php user:add --username "$admin" --name "$admin" --password "$password" --email "$email" --usergroup "Super Users" -n
|
||||
popd
|
||||
|
|
Loading…
Add table
Reference in a new issue