[us-commits] r292 - trunk

svn at svn.aucsolutions.com svn at svn.aucsolutions.com
Fri Jun 7 09:07:11 MDT 2019


Author: gegorbet
Date: 2019-06-07 15:07:09 +0000 (Fri, 07 Jun 2019)
New Revision: 292

Modified:
   trunk/checkuser.php
Log:
restore handling of  with /uslims3/ part

Modified: trunk/checkuser.php
===================================================================
--- trunk/checkuser.php	2019-06-05 14:03:17 UTC (rev 291)
+++ trunk/checkuser.php	2019-06-07 15:07:09 UTC (rev 292)
@@ -77,6 +77,8 @@
   $gwhostids[ 'uslims.uleth.ca' ]           = 'uslims.uleth.ca_82aea4e7-f4a4-4deb-93ac-47e3ad32c868';
   $gwhostids[ 'demeler6.uleth.ca' ]         = 'demeler6.uleth.ca_7b30612e-ab07-4729-81f7-75af7f674e1f';
   $gwhost    = dirname( $org_site );
+  if ( preg_match( "/\/uslims3/", $gwhost ) )
+     $gwhost    = dirname( $gwhost );
   $gwhostid  = $gwhost;
   if ( isset( $gwhostids[ $gwhost ] ) )
      $gwhostid  = $gwhostids[ $gwhost ];



More information about the us-commits mailing list