diff --git a/settings/ajax/apps/ocs.php b/settings/ajax/apps/ocs.php index 4d6f1116e7..ec2a395528 100644 --- a/settings/ajax/apps/ocs.php +++ b/settings/ajax/apps/ocs.php @@ -40,7 +40,7 @@ if(is_array($catagoryNames)) { if(!$local) { if($app['preview']=='') { - $pre='trans.png'; + $pre=OC_Helper::imagePath('settings','trans.png'); } else { $pre=$app['preview']; } diff --git a/settings/apps.php b/settings/apps.php index 155291333f..cdd62c56bc 100644 --- a/settings/apps.php +++ b/settings/apps.php @@ -77,7 +77,7 @@ foreach ( $installedApps as $app ) { } - $info['preview'] = 'trans.png'; + $info['preview'] = OC_Helper::imagePath('settings','trans.png'); $info['version'] = OC_App::getAppVersion($app); diff --git a/settings/trans.png b/settings/img/trans.png similarity index 100% rename from settings/trans.png rename to settings/img/trans.png