debugging = TRUE; $map->ReadConfig($mapfile); if(1==0) { $nodename = "Centre"; $newnodename = "dave"; $newnode = $map->nodes[$nodename]; $newnode->name = $newnodename; $map->nodes[$newnodename] = $newnode; unset($map->nodes[$nodename]); foreach ($map->links as $link) { if($link->a->name == $nodename) { $map->links[$link->name]->a = $newnode; } if($link->b->name == $nodename) { $map->links[$link->name]->b = $newnode; } } // print_r($map->nodes['main']); } $map->WriteConfig("output.conf"); print "Wrote config\n"; // print_r($map); // vim:ts=4:sw=4: ?> WebSVN - weathermap - Blame - Rev 32 - /test-rig.php
  jablonka.czprosek.czf

weathermap

Subversion Repositories:
[/] [test-rig.php] - Blame information for rev 32

 

Line No. Rev Author Line

Powered by WebSVN 2.2.1