Commit b4f66576 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Allow wordpress frontend to see only static files

Nginx no longer sees any "*.php" files at all.
parent a5e2f2bc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -105,6 +105,9 @@ update_all() {
	wp language core update
	wp language plugin update --all
	wp language theme update --all

	find -name wp-content -prune -o -type f -not -iname '*.php' \
		-exec install -vD '{}' 'static/{}' \;
}

case "$1" in