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
1.Copy files on Laravel's public folder into a folder you want to put them on public_html. | |
2.Copy Laravel's other folders anywhere your want to put them. Rename if you wanted. | |
3.Open index.php on your public folder with text editor , and change "require '../paths.php';" to fit your directory structure. | |
4.Open paths.php with text editor, and change "path['xxxx'] = 'xxxxx';" format lines to fit your directory structure. | |
5.Don't forget set permition for your 'storage' directory. | |
Source: http://forums.laravel.com/viewtopic.php?id=1685 |
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
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
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
#!/usr/bin/php | |
<?php | |
$files = shell_exec('git diff-index --name-only --cached --diff-filter=ACMR HEAD | grep "\.php$"'); | |
$files = explode("\n", trim($files)); | |
$exitCode = 0; | |
foreach ($files as $file) { | |
if (empty($file)) { |