[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/class.phpgw.php, 1.1.1.1.2.48
From: |
nomail |
Subject: |
[Phpgroupware-cvs] api/class.phpgw.php, 1.1.1.1.2.48 |
Date: |
Thu, 26 Aug 2004 22:05:38 +0200 |
Update of /api
Modified Files:
Branch: proposal-branch
class.phpgw.php
date: 2004/08/26 20:05:38; author: jengo; state: Exp; lines: +9 -4
Log Message:
FIXED: If the op isn't passed, its not bringing you to the default
=====================================================================
Index: api/class.phpgw.php
diff -u api/class.phpgw.php:1.1.1.1.2.47 api/class.phpgw.php:1.1.1.1.2.48
--- api/class.phpgw.php:1.1.1.1.2.47 Sun Jul 25 16:20:08 2004
+++ api/class.phpgw.php Thu Aug 26 20:05:38 2004
@@ -522,11 +522,16 @@
}
}
}
-
+
+ if ($GLOBALS['phpgw_data']['api']['op'] == '')
+ {
+ $GLOBALS['phpgw_data']['api']['op'] =
$GLOBALS['phpgw_data']['server']['default_anon_op'];
+ }
+
if
(preg_match('/^(\w+)\.(\w+)\.(\w+)$/',$GLOBALS['phpgw_data']['api']['op'],$matches))
{
- $GLOBALS['phpgw_data']['flags']['req_app'] =
$matches[1];
- $GLOBALS['phpgw_data']['flags']['req_class'] =
$matches[2];
+ $GLOBALS['phpgw_data']['flags']['req_app'] =
$matches[1];
+ $GLOBALS['phpgw_data']['flags']['req_class'] =
$matches[2];
$GLOBALS['phpgw_data']['flags']['req_method'] =
$matches[3];
}
/*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/class.phpgw.php, 1.1.1.1.2.48,
nomail <=