projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df33448
)
CRM_Utils_System - Allow docURL functions to support "sysadmin" and "dev" links
author
Tim Otten
<totten@civicrm.org>
Thu, 18 Apr 2019 17:30:35 +0000
(10:30 -0700)
committer
Tim Otten
<totten@civicrm.org>
Thu, 18 Apr 2019 17:45:18 +0000
(10:45 -0700)
CRM/Utils/System.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/System.php
b/CRM/Utils/System.php
index 1ac8d03d0be294cc14ffbf11bf05597ab8051e4e..0aa8fe3e67d54ed0ed5714d9cda3291d120f33e9 100644
(file)
--- a/
CRM/Utils/System.php
+++ b/
CRM/Utils/System.php
@@
-1385,7
+1385,7
@@
class CRM_Utils_System {
* @return mixed
*/
public static function formatDocUrl($url) {
- return preg_replace('#^
user/#', 'user
/en/stable/', $url);
+ return preg_replace('#^
(user|sysadmin|dev)/#', '\1
/en/stable/', $url);
}
/**