Welcome Guest, Not a member yet? Register   Sign In
is it possible to make command to delete debugbar json files?
#2

I am not familiar with Spark so use this index.php script: 

Code:
# CLEANER -  only shows last error logs and debugbar JSON files
  define('LOGFILE',  '../writable/logs/log-' .date('Y-m-d') .'.php');
  $ok = @unlink(LOGFILE);
  $ok = @array_map('unlink', glob("../writable/debugbar/*.json"));
Reply


Messages In This Thread
RE: is it possible to make command to delete debugbar json files? - by John_Betong - 03-10-2020, 09:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB