Skip to content

Instantly share code, notes, and snippets.

@jakobo
Created March 17, 2010 05:18
Show Gist options
  • Save jakobo/334944 to your computer and use it in GitHub Desktop.
Save jakobo/334944 to your computer and use it in GitHub Desktop.
diff --git a/lib/chippino/apps/chippino/template/init.php b/lib/chippino/apps/chippino/template/init.php
index 8b19783..0129533 100644
--- a/lib/chippino/apps/chippino/template/init.php
+++ b/lib/chippino/apps/chippino/template/init.php
@@ -34,6 +34,8 @@ if (file_exists($cache_file)) {
$content = PXHTML::parse($file, null);
file_put_contents('/tmp/'.$chk.'.php', $content);
+define('PXHTML_SIGNATURE_HASH', $chk);
+
ob_start();
include '/tmp/'.$chk.'.php';
$output = trim(ob_get_contents());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment