[geeklog-cvs] geeklog: Removed check for PHP 5 (feature request #0001217)
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Nov 6 08:37:26 EDT 2010
changeset 8013:059fe7249f07
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/059fe7249f07
user: Dirk Haun <dirk at haun-online.de>
date: Sat Nov 06 13:10:13 2010 +0100
description:
Removed check for PHP 5 (feature request #0001217)
diffstat:
public_html/webservices/atom/index.php | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diffs (38 lines):
diff -r 52b4c04c1362 -r 059fe7249f07 public_html/webservices/atom/index.php
--- a/public_html/webservices/atom/index.php Sat Nov 06 13:08:39 2010 +0100
+++ b/public_html/webservices/atom/index.php Sat Nov 06 13:10:13 2010 +0100
@@ -2,13 +2,13 @@
/* Reminder: always indent with 4 spaces (no tabs). */
// +---------------------------------------------------------------------------+
-// | Webservices Atom gateway |
+// | Geeklog 1.8 |
// +---------------------------------------------------------------------------+
// | index.php |
// | |
// | This file acts as a gateway to the Atom webservices. |
// +---------------------------------------------------------------------------+
-// | Copyright (C) 2007-2008 by the following authors: |
+// | Copyright (C) 2007-2010 by the following authors: |
// | |
// | Authors: Ramnath R Iyer - rri AT silentyak DOT com |
// +---------------------------------------------------------------------------+
@@ -28,17 +28,9 @@
// | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
// | |
// +---------------------------------------------------------------------------+
-//
-// $Id: index.php,v 1.4 2008/05/01 11:51:26 dhaun Exp $
require_once '../../lib-common.php';
-
-/* Check for PHP5 */
-if (PHP_VERSION < 5) {
- $_CONF['disable_webservices'] = true;
-} else {
- require_once $_CONF['path_system'] . '/lib-webservices.php';
-}
+require_once $_CONF['path_system'] . '/lib-webservices.php';
/* Check if WS component is enabled */
if ($_CONF['disable_webservices']) {
More information about the geeklog-cvs
mailing list