master 永远处于稳定状态,这个分支代码可以随时用来部署。不允许在该分支直接提交代码。
开发分支,包含了项目最新的功能和代码,所有开发都在 develop 上进行。一般情况下小的修改直接在这个分支上提交代码。
# Add the following alias command to .bashrc or .bash_profile | |
# Install youtube-dl: https://rg3.github.io/youtube-dl/download.html | |
alias youtube-audio="youtube-dl -i --extract-audio --audio-format mp3 --audio-quality 0" | |
# Usage: youtube-audio https://www.youtube.com/watch?v=dQw4w9WgXcQ |
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Http\Requests; | |
use Intervention\Image\ImageManager; | |
class PlaceHolderController extends Controller |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. | |
# |
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Http\Requests; | |
use Intervention\Image\ImageManager; | |
class PlaceHolderController extends Controller |
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
class MY_DB_mysqli_driver extends CI_DB_mysqli_driver { | |
final public function __construct($params) | |
{ | |
parent::__construct($params); | |
} |