kris06800
Bonjour
tente de faire ses deux modifs, chez moi ça fontionne
nano /var/www/rutorrent/plugins/fileshare/settings.js.php
tu rajoutes la ligne marqué //A rajouter
<?php
header("Content-Type: text/javascript"); //A rajouter
include('conf.php');
echo 'theWebUI.FS.maxlinks = "',$limits['links'], "\";\n";
echo 'theWebUI.FS.downlink = "',$downloadpath, "\";\n";
echo 'theWebUI.FS.maxdur = "',$limits['duration'], "\";\n";
?>
idem sur ce fichier
tu rajoutes la ligne marqué //A rajouter
nano /var/www/rutorrent/plugins/filemanager/settings.js.php
<?php
header("Content-Type: text/javascript"); //A rajouter
require_once( '../../php/util.php' );
include('conf.php');
// unzip should be the latest key index
foreach(array_merge($fm['archive']['types'], array('unzip')) as $kid => $external) {
if((findEXE($external) === false) && isset($fm['archive']['types'][$kid])) {
unset($fm['archive']['types'][$kid]);
echo 'log("FILE MANAGER: ',$external,' "+theUILang.fErrMsg[24]);',"\n";
}
}
echo 'theWebUI.fManager.homedir = "', rtrim($topDirectory, '/'), '";',"\n";
echo 'theWebUI.fManager.mkdefmask = "', $fm['mkdperm'], '";',"\n";
echo 'theWebUI.fManager.archives = '.json_encode($fm['archive']).';',"\n";
?>
ensuite le plugin devrait de nouveau fonctionner
Bonne journée