composer require "illuminate/html":"5.0.*"
Open /config/app.php and update as follows:
'providers' => [
...
composer require "illuminate/html":"5.0.*"
Open /config/app.php and update as follows:
'providers' => [
...
##Create Portable Server in a Second for Development Purpose
###Python:
python -m SimpleHTTPServer 8888
###Python 3+:
// Backbone Model | |
var TaskModel = Backbone.Model.extend({ | |
defaults: { | |
task: '', | |
type: '' | |
} | |
}); | |
// Backbone Collection | |
var TasksCollection = Backbone.Collection.extend({ |
function getQueryStringValue (key) { | |
return unescape(window.location.search.replace(new RegExp("^(?:.*[&\\?]" + escape(key).replace(/[\.\+\*]/g, "\\$&") + "(?:\\=([^&]*))?)?.*$", "i"), "$1")); | |
} | |
var utm_source = getQueryStringValue("utm_source"); |
Create php.ini in wp-admin folder | |
In the file put the following 3 lines: | |
upload_max_filesize = 2048M | |
post_max_size = 2048M | |
max_execution_time = 3000 | |
Goto to your website as admin and check the upload new media page, it should now display Maximum upload file size: 2 GB. |
<?php | |
/** | |
* Chimpy Lite MailChimp API Wrapper Class | |
* Partly based on official MailChimp API Wrapper for PHP | |
* | |
* @class ChimpyLite_Mailchimp | |
* @package ChimpyLite | |
* @author RightPress | |
*/ |
<?php | |
Route::get('/wordpress', function(){ | |
require('..\wordpress\wp-load.php'); | |
return loginUser(Auth::user()->username); | |
}); |