Skip to content

Commit

Permalink
Fix the example $SITE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Jan 31, 2010
1 parent eae41b1 commit 7806db1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/example.php
@@ -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";

Expand All @@ -14,7 +14,6 @@
$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);
Expand Down

0 comments on commit 7806db1

Please sign in to comment.