forked from invoiceninja/invoiceninja.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
21 lines (20 loc) · 979 Bytes
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php /** @noinspection PhpInconsistentReturnPointsInspection */
return [
'production' => false,
'baseUrl' => 'https://invoiceninja.github.io',
'title' => 'Free Source Available Invoicing, Expenses & Time-Tracking | Invoice Ninja',
'description' => 'The leading free source available online invoicing app for freelancers & businesses. Invoice, accept payments, track expenses, & time-tasks',
'collections' => [],
'navigation' => require_once('navigation.php'),
'isActive' => function ($page, $path) {
return trimPath($page) == trimPath($path);
},
'isActiveParent' => function ($page, $menuItem): ?string {
if (is_object($menuItem) && $menuItem->children) {
return $menuItem->children->contains(function ($child) use ($page) {
return trimPath($page->getPath()) == trimPath($child);
});
}
},
'repositoryUrl' => 'https://github.com/invoiceninja/invoiceninja.github.io',
];