Skip to content
Snippets Groups Projects
Commit c9cf562d authored by Imran Hussain's avatar Imran Hussain
Browse files

Fixed a php bug related to pastebin

parent 5e5db421
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,8 @@ require_once 'Text/Highlighter/Renderer.php';
require_once 'Text/Highlighter/Renderer/Html.php';
require_once '../lib/ArrayRenderer.php';
PEAR::setErrorHandling(PEAR_ERROR_TRIGGER, E_USER_WARNING);
//yay php5.4
(new PEAR)->setErrorHandling(PEAR_ERROR_TRIGGER, E_USER_WARNING);
// Grabbed from blog.lib.php
// Returns a textual diff between two time stamps
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment