Commit:    5d7d66d850ca8961c94470061afc4968a0b5a408
Author:    Adam Harvey <[email protected]>         Sun, 15 Sep 2013 22:39:34 -0700
Parents:   b9b7f3a5a6218dd680cc5694adbf38f598cbd719
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=5d7d66d850ca8961c94470061afc4968a0b5a408

Log:
Fix the broken JS include on servers with notices enabled.

$v is never defined in site_footer()'s scope — I've just nicked the declaration
from header.inc for now, but we probably should have a better way of defining
this before "beta" becomes "stable".

Changed paths:
  M  include/footer.inc


Diff:
diff --git a/include/footer.inc b/include/footer.inc
index 191f0cd..7417263 100644
--- a/include/footer.inc
+++ b/include/footer.inc
@@ -1,3 +1,7 @@
+<?php
+// Disable caching, annoying while developing
+$v = "?v=" .$_SERVER["REQUEST_TIME"];
+?>
     </section><!-- layout-content -->
     <?php
     if (!empty($config['spanning-content'])) {


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to