Exemple #1
0
 function _generate_pages_temp_without_slash()
 {
     global $config_q;
     $cq = new quote();
     $page_count = ceil($cq->get_quotes_count() / $config_q["quotes_on_page"]) + 1;
     // just in case deny page that does not exist... or does it?
     for ($i = 1; $i < $page_count; $i++) {
         $this->robotstxt .= "Disallow: /l{$i}\n";
     }
 }