diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2010-02-28 02:47:17 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2010-02-28 02:47:17 +0300 |
commit | f223a8292f93db1e287b2132758090cb92dfee0f (patch) | |
tree | 598fe0e102efb77516c77ee1e268412464567e30 /scripts | |
parent | 47a45386e9b2d68ac697177699e6d27fd2a558fe (diff) |
Update weblist.php to use Ice 3.4b
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/weblist.php | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/scripts/weblist.php b/scripts/weblist.php index f53d2c437..56c4e5e79 100644 --- a/scripts/weblist.php +++ b/scripts/weblist.php @@ -5,10 +5,22 @@ <body> <?php -Ice_loadProfile(); +# +# Murmur.php is generated by calling +# slice2php /path/to/Murmur.ice +# in this directory +# + +require 'Ice.php'; +require 'Murmur.php'; + + +#Ice_loadProfile(); try { - $base = $ICE->stringToProxy("Meta:tcp -h 127.0.0.1 -p 6502"); + $ice = Ice_initialize(); + + $base = $ice->stringToProxy("Meta:tcp -h 127.0.0.1 -p 6502"); $meta = $base->ice_checkedCast("::Murmur::Meta"); $servers = $meta->getBootedServers(); |