|
quickmanualen
Quick Maunaul
Featured Panda Quick Maunaul
UnzipPut Panda-folder under include_path (or any other place) Place web filesbe public for 'Panda/htdocs/panda folder' and testing folder (panda_sample)
$ cd /var/www/localhost/htdocs; $ ln -s /user/share/panda/Panda/htdocs/__panda . $ ln -s /user/share/panda/Panda/htdocs/panda_sample . Edit ini file
These config is important. Panda::CONFIG_DEBUG (bool) debug mode ? Panda::CONFIG_VALID_PATH (array) set your project path in array Panda::CONFIG_LOG_PATH (string) writtable log folder path Testingaccess /panda_sample/ to see error.
If you confirm everything above, it is OK. Use in your own project
require '/path/to/panda_ini.php'; Debug utity functionp — Prints human-readable information about a variable with print location and variable namemixed p( mixed $mixed [, string $format = 'dump' ] ); p($mixed); p($mixed, 'printa'); // a print_a (css table) p($mixed, 'var'); // v var_dump format p($mixed, 'export'); // e var_export formaty p($mixed, 'fire'); // f firePHP format p($mixed, 'syslog'); // s syslog formart p($mixed, 'header'); // h header formart this is alternative of print_r() t - prints backtrace linkvoid t( void); t(); this is alternative of debug_print_backtrace(), |
► Sign in to add a comment