Last active
June 21, 2017 04:36
-
-
Save muzudho/0ce6d0cd483c96144f853fd5fb5647ac to your computer and use it in GitHub Desktop.
Laravel の独習をこれから始めてみようぜ ref: http://qiita.com/muzudho1/items/524400c6d53ffbf4c0eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'mysql' => [ | |
'read' => [ | |
'host' => '192.168.1.1', | |
], | |
'write' => [ | |
'host' => '196.168.1.2' | |
], | |
'driver' => 'mysql', | |
'database' => 'database', | |
'username' => 'root', | |
'password' => '', | |
'charset' => 'utf8', | |
'collation' => 'utf8_unicode_ci', | |
'prefix' => '', | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql : | |
read : | |
host : 192.168.1.1 | |
write : | |
host : 196.168.1.2 | |
driver : mysql | |
database : database | |
username : root | |
password : | |
charset : utf8 | |
collation : utf8_unicode_ci | |
prefix : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$this->drip->send(User::find($this->argument('user'))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.drip.send( User.find( this.argument("user") ) ) ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment