mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-02 17:59:16 -04:00
Use request::protocol().
This commit is contained in:
@@ -33,8 +33,6 @@ class Organize_Controller extends Controller {
|
||||
$user = identity::active_user();
|
||||
$v->access_key = rest::get_access_key($user->id)->access_key;
|
||||
|
||||
$v->protocol = (empty($_SERVER["HTTPS"]) OR $_SERVER["HTTPS"] === "off") ? "http" : "https";
|
||||
|
||||
$v->file_filter = addslashes(json_encode(
|
||||
array("photo" => array("label" => "Images",
|
||||
"types" => array("*.jpg", "*.jpeg", "*.png", "*.gif")),
|
||||
|
||||
Reference in New Issue
Block a user