Site/Module setup work and auto_format fixes

This commit is contained in:
Deon George
2012-01-02 12:35:47 +11:00
parent 407eed04c9
commit a464d73f9a
19 changed files with 138 additions and 26 deletions

View File

@@ -24,7 +24,7 @@ class Model_Host_Server extends ORMOSB {
return $po->manage_button($u,$p,$d);
}
public function config() {
public function prov_plugin_data() {
if (! $this->provision_plugin_data)
throw new Kohana_Exception('No plugin configuration data');

View File

@@ -95,7 +95,7 @@ class Plesk {
}
private function server_command(XML $xml) {
$hs = $this->hso->config();
$hs = $this->hso->prov_plugin_data();
$request = Request::factory(sprintf('%s/%s',$this->hso->manage_url,$this->path))
->method('POST');