Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
1ff812c4
Commit
1ff812c4
authored
Mar 12, 2009
by
tbrehm
Browse files
Fixed problems with update script.
parent
d1a65998
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/scripts/ispconfig_update.php
View file @
1ff812c4
...
...
@@ -94,12 +94,12 @@ if($method == 'stable') {
$new_version
=
@
file_get_contents
(
'http://www.ispconfig.org/downloads/ispconfig3_version.txt'
)
or
die
(
'Unable to retrieve version file.'
);
$new_version
=
trim
(
$new_version
);
if
(
$new_version
!=
ISPC_APP_VERSION
)
{
exec
(
'/usr/local/ispconfig/server/scripts/update_from_tgz.sh'
);
passthru
(
'/usr/local/ispconfig/server/scripts/update_from_tgz.sh'
);
}
else
{
echo
"There are no updates available.
\n
"
;
}
}
else
{
exec
(
'/usr/local/ispconfig/server/scripts/update_from_svn.sh'
);
passthru
(
'/usr/local/ispconfig/server/scripts/update_from_svn.sh'
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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