Programming

Append xdebug trace to script output

2013-01-18 Bertas Linux

It possible to analyze xdebug traces with different tools, but sometimes you want to see it online. Lets create xdebug.yourdomain.com virtualhost, which will render the same page as yourdomain.com, but will add xdebug trace to the end.

Copy yourdomain.com virtualhost config, change ServerName and add these two lines to it:

(more…)

0

Dismiss data in modal dialog with javascript

2013-01-14 Bertas Programming

    $('#myModal').on('hidden', function() {
        $(this).removeData('modal');
    })

0

Powered by WordPress. Designed by elogi.