Changed environment checking to use HTTP_HOST instead of SERVER_NAME to resolve an issue with nginx server_name variable. Updated jarring to skip any files prefixed with '.' so that I could edit core files and not generate munged jar files because of vi .swp files.

This commit is contained in:
Josh Sherman 2011-08-06 12:57:59 -04:00
parent 3ea9ec8f36
commit dbcf6fdb80
3 changed files with 7 additions and 1204 deletions

View file

@ -63,7 +63,7 @@ function readFileContents($directory)
foreach ($files as $file)
{
if (!in_array($file, array('.', '..')))
if (strpos($file, '.') != 0)
{
$file = $directory . '/' . $file;