This file contains hidden or 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
# Mac OS X hidden files | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
ehthumbs.db | |
Thumbs.db | |
# Vim swap files |
This file contains hidden or 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
server { | |
listen 80; | |
## SSL directives might go here | |
## see http://www.howtoforge.com/how_to_set_up_ssl_vhosts_under_nginx_plus_sni_support_ubuntu_11.04_debian_squeeze | |
## if you want to enable SSL for this vhost | |
#server_name website.com *.website.com; | |
root /home/vagrant/public; | |
## rewrites example.com to www.example.com | |
#if ($http_host != "website.com") { | |
# rewrite ^ $scheme://website.com$request_uri permanent; |
This file contains hidden or 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 | |
//app/Http/Middleware/LoadSite.php | |
namespace App\Http\Middleware; | |
use App\Exceptions\SiteNotFoundException; | |
use App\Sites\SiteRepository; | |
use App\Sites\SiteService; | |
use Closure; |
This file contains hidden or 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 | |
namespace App\Console; | |
use Illuminate\Console\Scheduling\Schedule; | |
use Illuminate\Foundation\Console\Kernel as ConsoleKernel; | |
class Kernel extends ConsoleKernel | |
{ | |
/** |
This file contains hidden or 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
suhosin.executor.include.whitelist = phar; | |
disable_functions = none; | |
memory_limit = 512M; |
This file contains hidden or 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 | |
$allow = '192.168.1.1'; | |
if ( ! isset($_SERVER['REMOTE_ADDR']) OR ( $_SERVER['REMOTE_ADDR'] != $allow ) ): ?> | |
<h1>Not yet!</h1> | |
<?php | |
else: |