1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/joomla_ynh.git synced 2024-09-03 19:26:34 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-10-30 10:24:12 +01:00
parent 790510f207
commit db43bceb56

View file

@ -62,9 +62,10 @@ chown $app:$app "$install_dir/configuration.php"
#=================================================
ynh_script_progression --message="Setuping database..."
pushd "$install_dir/cli"
php$phpversion joomla.php user:add --username "$admin" --name "$admin" --password "$password" --email "$email" --usergroup "Super Users" -n
pushd "$install_dir"
php$phpversion cli/joomla.php user:add --username "$admin" --name "$admin" --password "$password" --email "$email" --usergroup "Super Users" -n
popd
INSERT INTO `js_users` (`name`, `username`, `password`, `params`, `registerDate`, `lastvisitDate`, `lastResetTime`) VALUES ('Administrator2', 'admin2', 'd2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199', '', NOW(), NOW(), NOW());
#=================================================
# GENERIC FINALIZATION