|
|
|
@ -82,21 +82,7 @@
|
|
|
|
|
log_debug($http_response_header[0]); // Supposed to be "HTTP/1.1 200 OK"
|
|
|
|
|
|
|
|
|
|
log_info("Requesting session.directory list...");
|
|
|
|
|
/*
|
|
|
|
|
$index_sdir = file_get_contents($SOURCES['SDIR']);
|
|
|
|
|
log_debug($http_response_header[0]); // Supposed to be "HTTP/1.1 200 OK"
|
|
|
|
|
|
|
|
|
|
log_info("Crawling session.directory list...");
|
|
|
|
|
$pages_sdir = crawl_source_index(
|
|
|
|
|
$index_sdir,
|
|
|
|
|
$SOURCES['SDIR-BASE'],
|
|
|
|
|
$SOURCES['SDIR-PATTERN']
|
|
|
|
|
);
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$pages_sdir = [];
|
|
|
|
|
|
|
|
|
|
$json_sdir = json_decode(file_get_contents($SOURCES['SDIR-JSON']));
|
|
|
|
|
log_debug($http_response_header[0]); // Supposed to be "HTTP/1.1 200 OK"
|
|
|
|
|
foreach ($json_sdir as $room) $pages_sdir[] = $room->url;
|
|
|
|
|