Fix the example $SITE_URL
This commit is contained in:
parent
eae41b182d
commit
7806db1929
@ -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);
|
||||
|
Reference in New Issue
Block a user