mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Merge branch 'master' of github.com:icecoder/icecoder into master
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
<?php
|
||||
// Exit early if no .git dir
|
||||
if (false === file_exists(dirname(__FILE__) . "/../.git")) {
|
||||
exit;
|
||||
}
|
||||
// Only run internally on server, not from internet
|
||||
if (isset($_SERVER['HTTP_HOST'])) {
|
||||
die("Server side script only");
|
||||
|
||||
Reference in New Issue
Block a user