1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-13 22:23:50 +01:00

Updated Development Guide (markdown)

FreeScout 2019-10-14 09:58:08 +03:00
parent 5644edba8c
commit bc95668654

@ -57,7 +57,7 @@ FreeScout has modular architecture (same idea as WordPress, Redmine, etc), which
* You can write messages to the App Log using standard '\Log::error()` function or you can write to activity log visible in `Manage » Logs` using `\Helper::log()` function. * You can write messages to the App Log using standard '\Log::error()` function or you can write to activity log visible in `Manage » Logs` using `\Helper::log()` function.
* By default Storage::put() saves files in _app/storage/public_, to save in _app/storage_ use `Storage::disk('private')->put()`. * By default Storage::put() saves files in _app/storage/public_, to save in _app/storage_ use `Storage::disk('private')->put()`.
* Application must be able to work in a subdirectory. * Application must be able to work in a subdirectory.
* In templates all assets must be included using `assets` function application to be able to work in subdirectory. * In templates and PHP all assets must be included using `assets` function application to be able to work in subdirectory.
* Do not use `enum` fields in DB, instead use `unsignedTinyInteger` type and constants. * Do not use `enum` fields in DB, instead use `unsignedTinyInteger` type and constants.
* Instead of `json_encode()` use `\Helper::jsonEncodeUtf8()` to avoid converting symbols into `\u0411`. * Instead of `json_encode()` use `\Helper::jsonEncodeUtf8()` to avoid converting symbols into `\u0411`.