Find / replace (using a regular expression):
(iconv_set_encoding.*?\))
With:
(PHP_VERSION_ID < 50600) ? $0 : ini_set('default_charset', 'UTF-8');
Find / replace (using a regular expression):
(iconv_set_encoding.*?\))
With:
(PHP_VERSION_ID < 50600) ? $0 : ini_set('default_charset', 'UTF-8');
{ | |
"query": { | |
"function_score": { | |
"query": { | |
"bool": { | |
"must": { | |
"multi_match": {"query": "Renaissance", "fields": ["name", "company"]}, | |
"term": {"features": "disability_access"}, | |
}, | |
"should": { |
To use `2.0.*@dev` version of API... Do the following: | |
1. Remove old API service providers and just add `Cartalyst\Api\Laravel\ApiServiceProvider` instead. | |
2. Remove all old API facades (there was overrides for Input, Request etc) and use the following 2 facades: | |
'API' => 'Cartalyst\Api\Laravel\Facades\API', | |
'ApiResponse' => 'Cartalyst\Api\Response', | |
3. Add the following to `app/start.php`, around line 14 (before `$app = new Illuminate\Foundation\Application`: |
Run though this damn checklist... Please!
rm bootstrap/compiled.php
?git pull {laravel remote name} develop
?rm -rf vendor
?composer update --no-dev
?After upgrading to OSX Lion, I discovered that both PEAR and PECL had gone missing. It turns out that you have to re-install them, but luckily it's quite simple. I found this quick guide from Ruggero De Pellegrini on Google+, and thought I would share the info to save you the confusion: