Merge pull request #11 from nshopik/master

Better colors for linkgraphs
This commit is contained in:
Manuel Kasper 2013-07-30 05:49:12 -07:00
commit e9877dcde9
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ $asset_cache_life ="604800"; # 604800 seconds = 7 days
$customlinks = array(
'PeeringDB' => 'http://www.peeringdb.com/view.php?asn=%as%',
'robtex' => 'http://www.robtex.com/as/as%as%.html'
'HE' => 'http://bgp.he.net/AS%as%'
);
?>

View File

@ -8,7 +8,7 @@
require_once('func.inc');
$numtop = 10;
$ascolors = array("D41C0E", "E45605", "FECF12", "2FA11C", "19BB7C", "0A4484", "0A7484", "4CB4C4", "971928", "1f348c");
$ascolors = array("A6CEE3", "1F78B4", "B2DF8A", "33A02C", "FB9A99", "E31A1C", "FDBF6F", "FF7F00", "CAB2D6", "6A3D9A");
$link = $_GET['link'];
if (!preg_match("/^[0-9a-zA-Z][0-9a-zA-Z\-_]+$/", $link))