Skip to content
Snippets Groups Projects
Verified Commit 11ef9bbf authored by Damien's avatar Damien
Browse files

FEAT #7726 CustomId for smartphone

parent 81aaf5a2
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,8 @@ class CoreConfigModel
if (strpos($_SERVER['SCRIPT_NAME'], 'ws_server') !== false) {
$path = $explodeUrl[count($explodeUrl) - 2];
} elseif (strpos($_SERVER['SCRIPT_NAME'], 'apps/maarch_entreprise/smartphone') !== false) {
$path = $explodeUrl[count($explodeUrl) - 5];
} elseif (strpos($_SERVER['SCRIPT_NAME'], 'apps/maarch_entreprise') === false) {
$path = $explodeUrl[count($explodeUrl) - 3];
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment