-
-
Save JamborJan/497a965529938782d0ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return array( | |
/* | |
|-------------------------------------------------------------------------- | |
| Access settings | |
|-------------------------------------------------------------------------- | |
| | |
| Configure under what DNS entries and ports your Paperwork server is | |
| accessible for clients. | |
| | |
| 'external' defines the settings for access Paperwork from an external | |
| network. Example: If you're hosting Paperwork within your LAN | |
| (192.168.1.0/24) and use port-forwarding on your router to allow access | |
| from outside of your LAN, this configuration tells clients, which | |
| host-/domainname and ports to use for reaching Paperwork. | |
| | |
| 'internal' defines the settings for access Paperwork within your LAN. If | |
| your Paperwork installation is reachable from your LAN using the | |
| previously defined 'external' settings, you can skip the 'internal' | |
| configuration. | |
| | |
*/ | |
'access' => array( | |
'external' => array( | |
'dns' => 'paperwork.pandorica.centur.io', | |
'ports' => array( | |
'http' => 80, | |
'https' => 443, | |
'forceHttps' => true | |
) | |
), | |
// if same as external: | |
// 'internal' => null | |
'internal' => array( | |
'dns' => 'localhost', | |
'ports' => array( | |
'http' => 8888, | |
'https' => 8443, | |
'forceHttps' => true | |
) | |
) | |
), | |
/* | |
|-------------------------------------------------------------------------- | |
| Enable registration | |
|-------------------------------------------------------------------------- | |
| | |
| If set to true, user registration is enabled. If set to false | |
| no new users will be able to register. | |
| | |
*/ | |
'registration' => true, | |
/* | |
|-------------------------------------------------------------------------- | |
| Enable "forgot password" link | |
|-------------------------------------------------------------------------- | |
| | |
| If set to true, forgot password link is enabled. | |
| | |
*/ | |
'forgot_password' => true, | |
/* | |
|-------------------------------------------------------------------------- | |
| Automatically detect language through user agent | |
|-------------------------------------------------------------------------- | |
| | |
| If set to true, Paperwork will automatically set the user-interface | |
| language depending on the user-agent languages. If set to false, the | |
| language set in app.php -> locale will be used. | |
| | |
*/ | |
'userAgentLanguage' => false, | |
/* | |
|-------------------------------------------------------------------------- | |
| Set which characters are allowed in user first and last names | |
|-------------------------------------------------------------------------- | |
| | |
| By default, alpha, hyphen, apostrophe, and space are allowed | |
| | |
*/ | |
'nameCharactersAllowed' => array( | |
//Alphabetic characters | |
'alpha' => true, | |
//- | |
'hyphen' => true, | |
// 0-9 | |
'num' => false, | |
//_ | |
'underscore' => false, | |
//' | |
'apostrophe' => true, | |
//" " Note, leading and trailing spaces are still trimmed | |
'space' => true, | |
), | |
/* | |
|-------------------------------------------------------------------------- | |
| Directory where uploaded files are being saved in | |
|-------------------------------------------------------------------------- | |
| | |
| The directory for saving uploaded files in. | |
| | |
*/ | |
'attachmentsDirectory' => storage_path() . '/attachments', | |
/* | |
|-------------------------------------------------------------------------- | |
| Attachments preview settings | |
|-------------------------------------------------------------------------- | |
| | |
| Settings regarding attachments preview generation. | |
| | |
| 'resolution' defines the generated resolution. The higher this is, the | |
| more disk space previews will consume. | |
| | |
| 'directory' defines the directory in which to store the previews. | |
| This usually is the same as 'attachmentsDirectory'. | |
| | |
*/ | |
'attachmentsPreview' => array( | |
'resolution' => array( | |
'x' => 500, | |
'y' => 500 | |
), | |
'directory' => storage_path() . '/attachments' | |
), | |
/* | |
|-------------------------------------------------------------------------- | |
| Tesseract temporary directory | |
|-------------------------------------------------------------------------- | |
| | |
| The directory where temporary tesseract files are being store into. | |
| | |
*/ | |
'tesseractTempDirectory' => storage_path() . '/cache', | |
/* | |
|-------------------------------------------------------------------------- | |
| Show issue reporting link | |
|-------------------------------------------------------------------------- | |
| | |
| If set to true, a link for reporting issues is being displayed. | |
| | |
*/ | |
'showIssueReportingLink' => true, | |
/* | |
|-------------------------------------------------------------------------- | |
| Prefix character that describes a public tag | |
|-------------------------------------------------------------------------- | |
| | |
| The prefix character that describes a public tag. Example: | |
| When a user adds a new tag (e.g. "meeting") without this character, the | |
| tag is only visible to him, even when the note is being shared with | |
| other users. | |
| If the user prefixes the tag with this character (e.g. "+meeting"), this | |
| tag will be visible to him and others he shared the note with. | |
| | |
| The maximum accepted length of this variable is exactly one character. | |
| | |
| WARNING: This value may only be changed during setup, as long as no | |
| tags have been added. If you change this afterwards, things will | |
| break. | |
| | |
*/ | |
'tagsPublicPrefixCharacter' => '+', | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment