deadkrolik
deadkrolik
Hello I use nginx as a frontend. I want to know how to make beego-application serve several hosts with different set of routes (and controllers). How can I config it...
I'm using Beego version 1.5 and I have this code in main.go ``` go beego.Graceful = true ``` This is the app output: ``` php 2015/08/24 14:00:38 [INFO] Start building......
I have User model and field invited_by which is not required, because user can register himself, without invitation. It's the model: ``` go type Users struct { Id int `form:"-"`...
### What steps will reproduce the problem? I have a config log section: ``` php $config = [ ... 'log' => [ 'targets' => [ [ 'class' => 'yii\log\FileTarget', 'levels'...
### Summary of a problem or a feature request I want to see a warning, when passing to the function `trim` nullable string. ### Code snippet that reproduces the problem...
# Feature request PHP [min()-function](https://www.php.net/manual/en/function.min.php) omits E_WARNING when empty array passed as parameter. It's a good practice to check array size before passing it to this function. It'll be good...
Complex conditions, such as SUBSTR(CAST(af1 AS CHAR),1,1) = 1 cause sql exception. more info in gist https://gist.github.com/deadkrolik/cdad64301f3a14755bf9
All url conditions in routes after first don't assign variables in controller method correctly. For more info see gist https://gist.github.com/deadkrolik/8f8718b3aec6edd05f31
For tests I'm trying to replace injected service. But can't do it. ``` php set('inst', '\\Instance1'); class Instance1 {} class Instance2 {} $di->set('view', function() { return new \Phalcon\Mvc\View(); }); class...
Telegram [InputUser](https://core.telegram.org/type/InputUser) has constructor with name `inputUserForeign`. But there is no such constructor in [Telethon InputUser](https://lonamiwebs.github.io/Telethon/types/input_user.html). Are you planning to implement this?