Created
November 22, 2017 14:58
-
-
Save CB9TOIIIA/0189ce6ab70084c35b6954f17cf9c549 to your computer and use it in GitHub Desktop.
savetempfile отладка
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function savetempfile($val) | |
{ | |
$file = fopen( JFactory::getConfig()->get('tmp_path') . '/dump.log', 'w' ); | |
fwrite( $file, print_r( $val, true ) ); | |
flush(); | |
fclose( $file ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment