mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 06:20:21 +00:00
no message
This commit is contained in:
1 parent
3be6caee73
commit
3e5f5e4f55
1 file changed
+4
-4
@@ -24,12 +24,12 @@ Odkaz na Task: {{ url( env( 'APP_URL_FE' ) . '/#/app/dashboard/tasks?subtask=' .
|
||||
$link = $matches[0];
|
||||
if (strpos($link, 'smb://serverjl') === 0) {
|
||||
// Windows link
|
||||
$mac_link = str_replace('smb://serverjl', '\\\\serverjl\\', $link);
|
||||
return "<br>Windows: $link <br> Mac: $mac_link <br>";
|
||||
$windows_link = str_replace('smb://serverjl', '\\\\serverjl\\', $link);
|
||||
return "<br>Windows: $link <br> Mac: $windows_link <br>";
|
||||
} elseif (strpos($link, '\\\\serverjl\\') === 0) {
|
||||
// Mac link
|
||||
$windows_link = str_replace('\\\\serverjl\\', 'smb://serverjl', $link);
|
||||
return "<br>Windows: $windows_link <br> Mac: $link <br>";
|
||||
$mac_link = str_replace('\\\\serverjl\\', 'smb://serverjl', $link);
|
||||
return "<br>Windows: $mac_link <br> Mac: $link <br>";
|
||||
}
|
||||
return $link; // In case no pattern matches, return the original link
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user