Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Revert "fix Jumploader"
Browse files Browse the repository at this point in the history
This reverts commit d6c26b3.
  • Loading branch information
c12simple committed Apr 28, 2014
1 parent d6c26b3 commit c75d4ea
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -146,7 +146,7 @@ public function preProcess($action, &$httpVars, &$fileVars)
$httpVars["partitionRealName"] = $realName;
}
}

public function postProcess($action, $httpVars, $postProcessData)
{
if(isSet($httpVars["simple_uploader"]) || isSet($httpVars["xhr_uploader"])) return;
Expand Down Expand Up @@ -425,7 +425,7 @@ public function jumploaderInstallApplet($params)
if (is_file($this->getBaseDir()."/jumploader_z.jar")) {
return "ERROR: The applet is already installed!";
}
$fileData = AJXP_Utils::getRemoteContent("http://jumploader.com/jar/jumploader_z.jar");
$fileData = AJXP_Utils::getRemoteContent("http://jumploader.com/jumploader_z.jar");
if (!is_writable($this->getBaseDir())) {
file_put_contents(AJXP_CACHE_DIR."/jumploader_z.jar", $fileData);
return "ERROR: The applet was downloaded, but the folder plugins/uploader.jumploader is not writeable. Applet is located in the cache folder, please put it manually in the plugin folder.";
Expand Down

0 comments on commit c75d4ea

Please sign in to comment.