Open Power Libs core-related tickets.
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
FS#135 - Debug Console turn off the console get on the debug info
Attached to Project:
Open Power Libs
Opened by Przemek (cojack) - Friday, 13 November 2009, 00:34 GMT-7
Last edited by Zyx (Zyx) - Friday, 20 November 2009, 23:52 GMT-7
Opened by Przemek (cojack) - Friday, 13 November 2009, 00:34 GMT-7
Last edited by Zyx (Zyx) - Friday, 20 November 2009, 23:52 GMT-7
|
DetailsHello,
I want to suggest adding some changes in the Opt_Class add a public $showDebugConsole = false; and changes in destruct: public function __destruct() { if(ob_get_level() > 0) { while(@ob_end_flush()); } if($this->debugConsole) { try { Opt_Support::updateTimers(); if($this->showDebugConsole) Opl_Debug_Console::display(); } catch(Opl_Exception $e) { die('<div style="background: #f77777;">Opt_Class destructor exception: '.$e->getMessage().'</div>'); } } } // end __destruct(); It'll helpfull if some one when build system on this template engine wanna to create his own debugger where can store all data needed for him, without opt debugger window. Regards. |
This task depends upon
Closed by Zyx (Zyx)
Friday, 20 November 2009, 23:52 GMT-7
Reason for closing: Implemented
Additional comments about closing: Implemented in rev. 265
Friday, 20 November 2009, 23:52 GMT-7
Reason for closing: Implemented
Additional comments about closing: Implemented in rev. 265
PS. If the suggestion covers two or more projects, you must split them into different tickets assigned to each of them. I corrected your ticket this time, but please remember about it in the future. It is very helpful to have the bugtracker clean.
Regads.
P.S. that ony english language is used here?