nchandra Posted March 30, 2011 Share Posted March 30, 2011 I want to log the time taken to serve a Prestashop PHP page e.g. search.php.$start = utime();//Put this at the end of page call to search.php.......$end = utime();$run = $end - $start;log($run)I want to avoid putting this code in each page. Is there a way to put this code at one place and then delegate the call to the called page? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now