Browse files

use $img_url in fail dev display

  • Loading branch information...
1 parent 2f63f2e commit 2f571ce2c62509fc1201905a67caa1d44b5f4f32 Brennen Bearnes committed Mar 15, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 Fail.php
View
4 Fail.php
@@ -276,6 +276,8 @@ public static function PukeDevelopment ()
if (self::noFail() || self::$errorLogAll)
return;
+ $img_url = static::$img_url;
+
// fuuuuuugly:
print <<<HTML
<style>
@@ -287,7 +289,7 @@ public static function PukeDevelopment ()
color: red;
border: 1px solid black;
padding: 10px;
- background-image: url(images/sparkfail.png);
+ background-image: url({$img_url});
background-repeat: no-repeat;
padding-bottom: 150px;
background-position: bottom right;

0 comments on commit 2f571ce

Please sign in to comment.