This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.12.1 | |
COPY start_ssh_tunnel.sh /root/start_ssh_tunnel.sh | |
RUN chmod +x /root/start_ssh_tunnel.sh | |
RUN apk add openssh --no-cache | |
ENTRYPOINT ["sh","/root/start_ssh_tunnel.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// If you include this in your functions.php, the wordpress cookie is set for the current domain | |
// and all subdomains | |
class RootCookie { | |
private static $cookie_name; | |
static public function init() { | |
self::$cookie_name = "wordpress_logged_in_" . md5(get_site_url()); | |
if ( is_user_logged_in() ) { |