Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use $img_url in fail dev display

  • Loading branch information...
commit 2f571ce2c62509fc1201905a67caa1d44b5f4f32 1 parent 2f63f2e
Brennen Bearnes authored
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.
Something went wrong with that request. Please try again.