Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig 3
Commits
f81f3ec8
Commit
f81f3ec8
authored
Feb 12, 2018
by
Till Brehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected some remote api examples.
parent
27321975
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
remoting_client/examples/mail_user_add.php
remoting_client/examples/mail_user_add.php
+2
-2
remoting_client/examples/sites_database_add.php
remoting_client/examples/sites_database_add.php
+1
-1
remoting_client/examples/sites_database_user_add.php
remoting_client/examples/sites_database_user_add.php
+1
-1
No files found.
remoting_client/examples/mail_user_add.php
View file @
f81f3ec8
...
...
@@ -29,8 +29,8 @@ try {
'cc'
=>
''
,
'homedir'
=>
'/var/vmail'
,
'autoresponder'
=>
'n'
,
'autoresponder_start_date'
=>
array
(
'day'
=>
1
,
'month'
=>
7
,
'year'
=>
2012
,
'hour'
=>
0
,
'minute'
=>
0
)
,
'autoresponder_end_date'
=>
array
(
'day'
=>
20
,
'month'
=>
7
,
'year'
=>
2012
,
'hour'
=>
0
,
'minute'
=>
0
)
,
'autoresponder_start_date'
=>
''
,
'autoresponder_end_date'
=>
''
,
'autoresponder_text'
=>
'hallo'
,
'move_junk'
=>
'n'
,
'custom_mailfilter'
=>
'spam'
,
...
...
remoting_client/examples/sites_database_add.php
View file @
f81f3ec8
...
...
@@ -19,7 +19,7 @@ try {
$params
=
array
(
'server_id'
=>
1
,
'type'
=>
'mysql'
,
'
website
_id'
=>
1
,
'
parent_domain
_id'
=>
1
,
'database_name'
=>
'db_name2'
,
'database_user_id'
=>
'1'
,
'database_ro_user_id'
=>
'0'
,
...
...
remoting_client/examples/sites_database_user_add.php
View file @
f81f3ec8
...
...
@@ -22,7 +22,7 @@ try {
'database_password'
=>
'db_name2'
);
$database_id
=
$client
->
sites_database_user_add
(
$session_id
,
$client_id
,
$params
);
$database_
user_
id
=
$client
->
sites_database_user_add
(
$session_id
,
$client_id
,
$params
);
echo
"Database ID: "
.
$database_user_id
.
"<br>"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment