fix https bug, add main playlists
[ouya-imagestore.git] / src / imagestore / Controller / Api / ImageBase.php
index e48a52dbfc970c0e17f8403f49c1f80b0a233af2..f815689b79cbd45fd3123c4960ae4f6c7f16674b 100644 (file)
@@ -6,6 +6,7 @@ class Controller_Api_ImageBase extends Controller_Base
     protected function getBaseUrl()
     {
         if (isset($_SERVER['HTTPS'])) {
+            $protocol = 'https';
         } else {
             $protocol = 'http';
         }