Browse Source

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

(e.g. a php script with ?foo=bar appended)
remotes/origin/stable
Robin Appelman 15 years ago
parent
commit
2b45a28bd4
  1. 2
      lib/helper.php

2
lib/helper.php

@ -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;

Loading…
Cancel
Save