"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "interface/lib/classes/remote.d/client.inc.php" between
ISPConfig-3.2.4.tar.gz and ISPConfig-3.2.5.tar.gz

About: ISPConfig is an ISP management and Hosting Control Panel (for different Managed Services).

client.inc.php  (ISPConfig-3.2.4):client.inc.php  (ISPConfig-3.2.5)
skipping to change at line 245 skipping to change at line 245
$templates = explode('/', $params['template_additional']) ; $templates = explode('/', $params['template_additional']) ;
$params['template_additional'] = ''; $params['template_additional'] = '';
$app->client_templates->update_client_templates($client_i d, $templates); $app->client_templates->update_client_templates($client_i d, $templates);
unset($templates); unset($templates);
} }
$affected_rows = $this->updateQuery('../client/form/' . (isset($p arams['limit_client']) && $params['limit_client'] != 0 ? 'reseller' : 'client') . '.tform.php', $reseller_id, $client_id, $params, 'client:' . ($reseller_id ? ' reseller' : 'client') . ':on_after_update'); $affected_rows = $this->updateQuery('../client/form/' . (isset($p arams['limit_client']) && $params['limit_client'] != 0 ? 'reseller' : 'client') . '.tform.php', $reseller_id, $client_id, $params, 'client:' . ($reseller_id ? ' reseller' : 'client') . ':on_after_update');
$app->remoting_lib->ispconfig_sysuser_update($params, $client_id) ; $app->remoting_lib->ispconfig_sysuser_update($params, $client_id) ;
// if canceled
if ($params['canceled']) {
$result = $app->functions->func_client_cancel($client_id, $params
['canceled']);
}
// if locked
if ($params['locked']) {
$result = $app->functions->func_client_lock($client_id, $params['
locked']);
}
return $affected_rows; return $affected_rows;
} }
public function client_template_additional_get($session_id, $client_id) { public function client_template_additional_get($session_id, $client_id) {
global $app; global $app;
if(!$this->checkPerm($session_id, 'client_get')) { if(!$this->checkPerm($session_id, 'client_get')) {
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.'); throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
return false; return false;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)