1
0

Fix the example $SITE_URL

This commit is contained in:
Bharat Mediratta 2010-01-30 20:39:11 -08:00
parent eae41b182d
commit 7806db1929

View File

@ -1,7 +1,7 @@
<?
include("Gallery3.php");
$SITE_URL = "http://example.com/gallery3";
$SITE_URL = "http://example.com/gallery3/index.php/rest";
$USER = "admin";
$PASSWORD = "admin";
@ -14,7 +14,6 @@ $auth = Gallery3::login($SITE_URL, $USER, $PASSWORD);
$root = Gallery3::factory("$SITE_URL/item/1", $auth);
$tags = Gallery3::factory("$SITE_URL/tags", $auth);
$tag = Gallery3::factory()
->set("name", "My Tag")
->create($tags->url, $auth);