Skip to content

Commit

Permalink
You can specify the queue number at top of source now.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 24, 2002
1 parent a037c76 commit 5d700ba
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions php_interface/news.php
@@ -1,4 +1,8 @@
<?php

// CHANGE THIS TO YOUR QUEUE #.
$news_queue = 1;

require('./IcculusNews.php');

// !!! FIXME: Move this somewhere.
Expand Down Expand Up @@ -172,9 +176,9 @@ function output_item($news_queue, $id, $host = 'localhost', $profile = false)
<ul>
<?php
if ( (isset($id)) and ($id != 0) )
output_item(1, $id, 'localhost', false);
output_item($news_queue, $id, 'localhost', false);
else
output_archive(1, 'localhost', false);
output_archive($news_queue, 'localhost', false);
?>
</ul>

Expand Down

0 comments on commit 5d700ba

Please sign in to comment.