mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 04:21:06 +08:00
Add LEGACY_PATH constant to define the path to the legacy application
This commit is contained in:
parent
471adea58e
commit
f27aee78e5
4 changed files with 121 additions and 9 deletions
|
@ -24,7 +24,7 @@ class Navbar extends LegacyHandler
|
|||
'submenu' => [],
|
||||
];
|
||||
|
||||
require 'include/globalControlLinks.php';
|
||||
require LEGACY_PATH . 'include/globalControlLinks.php';
|
||||
|
||||
foreach ($global_control_links as $key => $value) {
|
||||
if ($key === 'users') {
|
||||
|
@ -77,4 +77,4 @@ class Navbar extends LegacyHandler
|
|||
|
||||
throw new \RuntimeException('Running legacy entry point failed');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue