Skip to content

Instantly share code, notes, and snippets.

@hissy hissy/app.php
Last active Nov 3, 2016

Embed
What would you like to do?
#concrete5 HTTPS on SAKURA Internet
<?php
// application/bootstrap/app.php
$request = Request::getInstance();
if ($request->headers->has('HTTP_X_SAKURA_FORWARDED_FOR')) {
$request->server->set('HTTPS', 'on');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.