]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - _darcs/pristine/lib/theme.php
replace all tabs with four spaces
[quix0rs-gnu-social.git] / _darcs / pristine / lib / theme.php
index 80982aa82b0d59f7742fd2d128dceccbbb60881b..346cff4343ae67b31f331c02c6e4dac2ca0e508a 100644 (file)
 if (!defined('LACONICA')) { exit(1); }
 
 function theme_file($relative) {
-       $theme = common_config('site', 'theme');
-       return INSTALLDIR.'/theme/'.$theme.'/'.$relative;
+    $theme = common_config('site', 'theme');
+    return INSTALLDIR.'/theme/'.$theme.'/'.$relative;
 }
 
 function theme_path($relative) {
-       $theme = common_config('site', 'theme');
-       $server = common_config('theme', 'server');
-       if ($server) {
-               return 'http://'.$server.'/'.$theme.'/'.$relative;
-       } else {
-               return common_path('theme/'.$theme.'/'.$relative);
-       }
+    $theme = common_config('site', 'theme');
+    $server = common_config('theme', 'server');
+    if ($server) {
+        return 'http://'.$server.'/'.$theme.'/'.$relative;
+    } else {
+        return common_path('theme/'.$theme.'/'.$relative);
+    }
 }
\ No newline at end of file