Operating System Ubuntu 14.04 via Koding.com
Install node.js
sudo apt-get update
sudo apt-get install nodejs
Check node.js version
Is common a [CORS][1] message when accessing a Laravel Application (or better, an Laravel API), resource via another client application (an Angular.js, Backbone.js, Ember.js, or a PHP, JS, Java, Mobile, app, whatever).
To enable CORS in your Laravel application, create a route group and put inside, all routes that you need to enable CORS:
<?php
Route::group(['after' => 'allowOrigin'], function() {
// Your fantastic resources
Route::post('/users', function () { // ... });
// ...
});
<?php | |
$currency_symbols = array( | |
'AED' => 'د.إ', // ? | |
'AFN' => 'Af', | |
'ALL' => 'Lek', | |
'AMD' => '', | |
'ANG' => 'ƒ', | |
'AOA' => 'Kz', // ? | |
'ARS' => '$', | |
'AUD' => '$', |