ice / base Goto Github PK
View Code? Open in Web Editor NEWThe base application written in Ice
The base application written in Ice
Fatal error: Cannot use $this as parameter in /XXXX/XXXX/base/app/services/UserService.php on line 110
$this->di->hook('model.after.validate', function ($this) use ($auth) {
$this->set('password', $auth->hash($this->get('password')));
});
I revised the following way. What do you think?
$this->di->hook('model.after.validate', function () use ($auth) {
$this->set('password', $auth->hash($this->get('password')));
});
My local environment
Vagrant 1.8.1
CentOS 7.2
PHP 7.0.7
MariaDB Ver 15.1 Distrib 5.5.47
Ice 1.1.4
Could you confirm the following file?
app/i18n/*.php
The duplicate key is "Field :field is not valid".
HI there,
I decided to give your project a try. Usually I use Symfony and have done some stuff with Phalcon in the early days. I did not like the fact that I had no control over the code, and since your framework in written in Zephir it is interesting for me.
I fixed this issue another way by falling back to your other env.ini implementation, but in this application I would expect a .env.dist file in the App folder. Now I need to reverse engineer the contents of your .env file which it not what you want to be doing when starting out a project. :-) Could you add a .env.dist to the base project? It would be very helpful.
Thanks!
Kind regards,
Daan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.