https://github.com/sypherlev/dorkigniter
Debug tools and a few other useful things for Codeigniter
https://github.com/sypherlev/dorkigniter
Last synced: about 1 year ago
JSON representation
Debug tools and a few other useful things for Codeigniter
- Host: GitHub
- URL: https://github.com/sypherlev/dorkigniter
- Owner: sypherlev
- Created: 2014-04-15T17:19:56.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-01-24T22:15:07.000Z (over 10 years ago)
- Last Synced: 2025-02-16T03:19:51.346Z (over 1 year ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Dorkigniter Analysis - FOR CI2
===========
Codeigniter's Profiler is a very helpful tool for analyzing and debugging CI applications. Unfortunately, it doesn't play well with AJAX requests.
This set of tools allows for debugging AJAX by overriding the default Profiler library, and storing the profiler output in the database. The controller has a run-once function for creating the required table, and an override for the default CI_Controller that checks for the first admin account before enabling the profiler.
You can then use the /dorkanalyze/profiler function to display the last profiler record in a new browser tab, instead of at the end of each page. Refresh the page after making an AJAX request to see the profiler's output.
You can also cycle back through the profiler records by using /dorkanalyze/profiler/{id}. The current ID is shown in the top left hand corner.