feat core: move console option to "data"

This commit is contained in:
prplwtf 2024-06-21 17:45:33 +02:00
parent e889b48d1e
commit fe6599b614

View file

@ -414,6 +414,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD="
data_directory="$conf_data_directory"; #(optional) data_directory="$conf_data_directory"; #(optional)
data_public="$conf_data_public"; #(optional) data_public="$conf_data_public"; #(optional)
data_console="$conf_data_console"; #(optional)
requests_views="$conf_requests_views"; #(optional) requests_views="$conf_requests_views"; #(optional)
requests_controllers="$conf_requests_controllers"; #(optional) requests_controllers="$conf_requests_controllers"; #(optional)
@ -424,8 +425,6 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD="
database_migrations="$conf_database_migrations"; #(optional) database_migrations="$conf_database_migrations"; #(optional)
console_artisan="$conf_console_artisan"; #(optional)
# assign config aliases # assign config aliases
if [[ $requests_routers_application == "" ]] \ if [[ $requests_routers_application == "" ]] \
@ -1470,6 +1469,7 @@ if [[ ( $2 == "-r" ) || ( $2 == "-remove" ) ]]; then VCMD="y"
data_directory="$conf_data_directory"; #(optional) data_directory="$conf_data_directory"; #(optional)
data_public="$conf_data_public"; #(optional) data_public="$conf_data_public"; #(optional)
data_console="$conf_data_console"; #(optional)
requests_views="$conf_requests_views"; #(optional) requests_views="$conf_requests_views"; #(optional)
requests_controllers="$conf_requests_controllers"; #(optional) requests_controllers="$conf_requests_controllers"; #(optional)
@ -1479,8 +1479,6 @@ if [[ ( $2 == "-r" ) || ( $2 == "-remove" ) ]]; then VCMD="y"
requests_routers_web="$conf_requests_routers_web"; #(optional) requests_routers_web="$conf_requests_routers_web"; #(optional)
database_migrations="$conf_database_migrations"; #(optional) database_migrations="$conf_database_migrations"; #(optional)
console_artisan="$conf_console_artisan"; #(optional)
else else
PRINT FATAL "Extension configuration file not found or detected." PRINT FATAL "Extension configuration file not found or detected."
exit 1 exit 1