This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 8bd999734b3ef9275e915f06ddd1c64f81b5522d
tree 899ef9d9ad40e98db3e4ea26f62be8d5f80a256d
parent 575b9b0278d5814e9c98c08f5f36c1f61d6a013d
tree 899ef9d9ad40e98db3e4ea26f62be8d5f80a256d
parent 575b9b0278d5814e9c98c08f5f36c1f61d6a013d
| name | age | message | |
|---|---|---|---|
| |
README.markdown | Mon Dec 01 08:12:48 -0800 2008 | |
| |
Starburst/ |
README.markdown
Starburst_Debug_Console - Debugging and profiling console for Solar
Solar is a framework for PHP5. Starburst_Debug_Console is a debugging and
profiling console for Solar applications. Once installed, you will see a console
on top of your website which has information about the request and PHP environment.
Features:
- No coding needed. You only need to set a few config values.
- SQL profiler (through
Solar_Sql) - Log viewer (through integrated custom log writer for
Solar_Log) - PHP environment view (
$_SERVERvariables)
Installation
Install the files somewhere in your project.
I recommend using the "Solar system" project structure. In this case you should put the files under
$system/source/starburst-debug-console.Add Starburst directory to your
include_path.If your project is a "Solar system", you can add it to include_path with:
cd $system/include ln -s ../source/starburst-debug-console/Starburst .Add symlinks to your Public dir.
cd $system/docroot/public ln -s ../../source/starburst-debug-console/Starburst/Debug/Console/Public ./Starburst_Debug_ConsoleConfigure the debug console.
Here's an example configuration:
You might want to put the configuration inside a conditional so that the console is shown only in development environment.// turn on SQL query profiling $config['Solar_Sql']['profiling'] = true; $config['Solar']['registry_set']['debug-report'] = 'Starburst_Debug_Console'; $config['Solar']['registry_set']['log'] = array('Solar_Log', array( 'adapter' => 'Starburst_Log_Adapter_Var', 'events' => array('notice', 'debug', 'warning'), )); // display only when in browser if (PHP_SAPI != 'cli') { // this will display the console $config['Solar']['stop'][] = array('debug-report', 'display'); }








