diff --git a/conf/config.php b/conf/config.php index be0fefb..a4bc3b2 100644 --- a/conf/config.php +++ b/conf/config.php @@ -1,10 +1,10 @@ 'https://__DOMAIN____PATH__', // no trailing slash + 'base_url' => 'https://__DOMAIN____PATH__', 'storage' => [ 'driver' => 'local', - 'path' => '__INSTALL_DIR__/storage', + 'path' => '__DATA_DIR__/storage', ], 'db' => [ 'connection' => 'sqlite', diff --git a/conf/config_old.php b/conf/config_old.php deleted file mode 100644 index 7ab9a12..0000000 --- a/conf/config_old.php +++ /dev/null @@ -1,26 +0,0 @@ - 'https://__DOMAIN____PATH__', - 'db' => array ( - 'connection' => 'mysql', - 'dsn' => 'host=localhost;port=3306;dbname=__DB_USER__', - 'username' => '__DB_USER__', - 'password' => '__DB_PWD__', - ), - - 'storage' => array( - 'driver' => 'local', - 'path' => '__DATA_DIR__', - ), - - 'ldap' => array( - 'enabled' => true, - 'host' => 'ldap://127.0.0.1', - 'port' => 389, - 'base_domain' => 'dc=yunohost,dc=org', - 'user_domain' => 'ou=Users', - 'rdn_attribute' => 'uid=', - ), -); - diff --git a/manifest.toml b/manifest.toml index b3988d1..c644059 100644 --- a/manifest.toml +++ b/manifest.toml @@ -48,12 +48,10 @@ ram.runtime = "50M" [resources.install_dir] [resources.data_dir] + subdirs = ["storage"] [resources.permissions] main.url = "/" [resources.apt] - packages = "mariadb-server php8.2-sqlite3 php8.2-mysql php8.2-gd php8.2-fileinfo php8.2-zip php8.2-ldap" - - [resources.database] - type = "mysql" + packages = "mariadb-server php8.2-sqlite3 php8.2-gd php8.2-fileinfo php8.2-zip"