Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable custom error template #85

Closed
wants to merge 1 commit into from
Closed

enable custom error template #85

wants to merge 1 commit into from

Conversation

forrest79
Copy link
Contributor

@h4kuna
Copy link

h4kuna commented Nov 28, 2014

👍

@fprochazka
Copy link
Contributor

This is actually a quite nice solution.

@Majkl578
Copy link
Contributor

👍, but 👎 on implementation (see my comment).

@@ -92,6 +92,9 @@ class Debugger
/** @var string command to open browser (use 'start ""' in Windows) */
public static $browser;

/** @var string custom static error template */
public static $errorTemplate;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't you make this default to __DIR__ . '/templates/error.phtml'?
Edit: Ah I see, it's only 5.6+ feature. Fuck PHP...

@JanTvrdik
Copy link
Contributor

👍

1 similar comment
@janedbal
Copy link

👍

@dg dg closed this in 3ee9335 Dec 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants