Created
August 26, 2017 21:26
-
-
Save muhfaris/2704df226f2ed2d2debdff3488592e09 to your computer and use it in GitHub Desktop.
save log into filw zencart
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
$define("DIR_FS_LOGS","logs") | |
$log folder = DIR_FS_LOGS . '/'; | |
$debug_file = 'name_file_log' . time(); | |
file_put_contents($log_folder . $debug_file . '_' . 'text' . '.txt', $json_response, FILE_APPEND); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment