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
diff --git a/system/expressionengine/libraries/Auth.php b/system/expressionengine/libraries/Auth.php | |
index 82c0bfb..992bc6c 100644 | |
--- a/system/expressionengine/libraries/Auth.php | |
+++ b/system/expressionengine/libraries/Auth.php | |
@@ -572,6 +572,7 @@ class Auth_result { | |
private $member; | |
private $session_id; | |
private $remember_me = 0; | |
+ private $anon = FALSE; | |
private $EE; |
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
{exp:channel:entries channel="blog_articles" limit="500"} | |
{date_heading display="yearly"}{entry_date format="%Y"}<ul>{/date_heading} | |
{date_heading display="monthly"}<li>{entry_date format="%F"}<ul>{/date_heading} | |
{date_heading display="daily"}<li>{entry_date format="%d"}<ul>{/date_heading} | |
<li>{title}</li> | |
{date_footer display="daily"}</ul></li>{/date_footer} | |
{date_footer display="monthly"}</ul></li>{/date_footer} | |
{date_footer display="yearly"}</ul>{/date_footer} | |
{/exp:channel:entries} |
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
# sudo chmod -R 777 /usr/local/var/varnish | |
# To start, need to specify the port you'd like Varnish to run on if not on port 80: | |
# sudo ./varnishd -a 127.0.0.1:8080 -f /usr/local/etc/varnish/ee.vcl -s malloc,200M | |
vcl 4.0; | |
backend default { | |
.host = "127.0.0.1"; # IP address of your backend (Apache, nginx, etc.) | |
.port = "80"; # Port your backend is listening on |
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 php:fpm | |
RUN apt-get update && apt-get install -y \ | |
libfreetype6-dev \ | |
libjpeg62-turbo-dev \ | |
libpng-dev \ | |
zlib1g-dev \ | |
libzip-dev \ | |
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ | |
&& docker-php-ext-install -j$(nproc) gd \ | |
&& docker-php-ext-install pdo_mysql \ |