Permalink
Browse files

fixed calls to the module php_cask to phpcask

  • Loading branch information...
1 parent e009948 commit 8e71037255d6c7a7f8754125c1a3f72525fa38f2 @videlalvaro committed May 11, 2010
Showing with 5 additions and 5 deletions.
  1. +4 −4 PHPCask.class.php
  2. +1 −1 README.md
View
@@ -16,28 +16,28 @@ public function __construct($node, $cookie)
public function put($key, $value)
{
$x = peb_encode("[~b, ~b]", array(array($key, $value)));
- $result = peb_rpc("php_cask", "put", $x, $this->link);
+ $result = peb_rpc("phpcask", "put", $x, $this->link);
return peb_decode($result);
}
public function get($key)
{
$x = peb_encode("[~b]", array(array($key)));
- $result = peb_rpc("php_cask", "get", $x, $this->link);
+ $result = peb_rpc("phpcask", "get", $x, $this->link);
return peb_decode($result);
}
public function delete($key)
{
$x = peb_encode("[~b]", array(array($key)));
- $result = peb_rpc("php_cask", "delete", $x, $this->link);
+ $result = peb_rpc("phpcask", "delete", $x, $this->link);
return peb_decode($result);
}
public function list_keys()
{
$x = peb_encode("[]", array(array()));
- $result = peb_rpc("php_cask", "list_keys", $x, $this->link);
+ $result = peb_rpc("phpcask", "list_keys", $x, $this->link);
return peb_decode($result);
}
View
@@ -17,7 +17,7 @@ Open the Terminal and type:
Inside the erlang CLI:
- > php_cask:start().
+ > phpcask:start().
Open another Terminal window and type:

0 comments on commit 8e71037

Please sign in to comment.