Commit ae59820d authored by Qwerty's avatar Qwerty 🦄

Update dead-link.php

parent 13503d31
<?php
$begin = microtime(TRUE);
define('HOST_SHAARLI', 'your-shaarli.example');
define('URL_SHAARLI', 'http://your-shaarli.example/links/');
define('TOTAL_PAGE', 100);
......@@ -25,4 +26,6 @@ while($page <= TOTAL_PAGE) {
search_dead_link(URL_SHAARLI.'/?page='.$page);
$page++;
}
$end = microtime(TRUE);
echo round(($end - $begin),6).' seconds';
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment