[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14959] bookingfrontend: prepare for php 7
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [14959] bookingfrontend: prepare for php 7 |
Date: |
Sat, 30 Apr 2016 21:09:01 +0000 |
Revision: 14959
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14959
Author: sigurdne
Date: 2016-04-30 21:09:01 +0000 (Sat, 30 Apr 2016)
Log Message:
-----------
bookingfrontend: prepare for php 7
Modified Paths:
--------------
trunk/bookingfrontend/index.php
Modified: trunk/bookingfrontend/index.php
===================================================================
--- trunk/bookingfrontend/index.php 2016-04-30 21:08:24 UTC (rev 14958)
+++ trunk/bookingfrontend/index.php 2016-04-30 21:09:01 UTC (rev 14959)
@@ -108,7 +108,7 @@
/* * ******* Optional classes, which can be disabled for
performance increases ******** */
while ($phpgw_class_name = each($GLOBALS['phpgw_info']['flags']))
{
- if (ereg('enable_', $phpgw_class_name[0]))
+ if ( preg_match('/enable_/', $phpgw_class_name[0]))
{
$enable_class = str_replace('enable_', '',
$phpgw_class_name[0]);
$enable_class = str_replace('_class', '',
$enable_class);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14959] bookingfrontend: prepare for php 7,
Sigurd Nes <=