From 0aadd1add937ea04cf051513c48b65cd113917ce Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Wed, 20 May 2015 00:12:29 +0200 Subject: [PATCH] Tweaks. --- src/_h5ai/public/.htaccess | 2 +- .../public/images/themes/comity/txt-rb.svg | 155 +----------------- src/_h5ai/public/index.php | 2 +- 3 files changed, 4 insertions(+), 155 deletions(-) diff --git a/src/_h5ai/public/.htaccess b/src/_h5ai/public/.htaccess index fce2793e..a891b9ba 100644 --- a/src/_h5ai/public/.htaccess +++ b/src/_h5ai/public/.htaccess @@ -2,7 +2,7 @@ Satisfy all Order allow,deny Allow from all -DirectoryIndex index.php +DirectoryIndex disabled Options -Indexes diff --git a/src/_h5ai/public/images/themes/comity/txt-rb.svg b/src/_h5ai/public/images/themes/comity/txt-rb.svg index 14b8b9c7..e94b7a74 100644 --- a/src/_h5ai/public/images/themes/comity/txt-rb.svg +++ b/src/_h5ai/public/images/themes/comity/txt-rb.svg @@ -1,154 +1,3 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + \ No newline at end of file diff --git a/src/_h5ai/public/index.php b/src/_h5ai/public/index.php index 7f095d66..029d7ba8 100644 --- a/src/_h5ai/public/index.php +++ b/src/_h5ai/public/index.php @@ -2,7 +2,7 @@ define('MIN_PHP_VERSION', '5.4.0'); -if (version_compare(PHP_VERSION, MIN_PHP_VERSION, '<')) { +if (!function_exists('version_compare') || version_compare(PHP_VERSION, MIN_PHP_VERSION, '<')) { header('Content-type: text/plain;charset=utf-8'); echo '[err] {{pkg.name}} requires PHP ' . MIN_PHP_VERSION . ' or later, but found PHP ' . PHP_VERSION; exit;