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

fix OC_HELPER::linkTo again

parent da2c9aa8
No related branches found
No related tags found
No related merge requests found
......@@ -39,11 +39,10 @@ class OC_HELPER {
if(!empty($app)) {
$app .= '/';
}
// Check if the app is in the app folder
if( file_exists( $SERVERROOT . '/apps/'. $app )){
return $WEBROOT . '/apps/' . $app . $file;
// Check if the app is in the app folder
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