Skip to content
Snippets Groups Projects
Commit 2b45a28b authored by Robin Appelman's avatar Robin Appelman
Browse files

fix OC_HELPER::linkto() when the link is not a valid file.

(e.g. a php script with ?foo=bar appended)
parent 8c5a0602
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ class OC_HELPER {
}
// Check if the app is in the app folder
if( file_exists( $SERVERROOT . '/apps/'. $app . $file )){
if( file_exists( $SERVERROOT . '/apps/'. $app )){
return $WEBROOT . '/apps/' . $app . $file;
}
return $WEBROOT . '/' . $app . $file;
......
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