mirror of
https://codeberg.org/icewind/nextcloud-config-parser.git
synced 2026-06-03 08:34:13 +02:00
update literal parser
This commit is contained in:
parent
59cd402f2f
commit
b388c2ccf0
4 changed files with 43 additions and 14 deletions
18
tests/configs/nested_array.php
Normal file
18
tests/configs/nested_array.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
$CONFIG = [
|
||||
'overwrite.cli.url' => 'https://cloud.example.com',
|
||||
'dbtype' => 'mysql',
|
||||
'dbname' => 'nextcloud',
|
||||
'dbhost' => '127.0.0.1',
|
||||
'dbport' => '',
|
||||
'dbtableprefix' => 'oc_',
|
||||
'dbuser' => 'nextcloud',
|
||||
'dbpassword' => 'secret',
|
||||
'redis' => [
|
||||
'host' => 'localhost'
|
||||
],
|
||||
'apps_paths' => [
|
||||
['path' => '/foo', 'url' => '/foo'],
|
||||
]
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue