Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Novik committed Jan 28, 2015
1 parent 6aa3395 commit 30fe43a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AuthType Basic
AuthName "rutorrent"
AuthUserFile "/var/www/rutorrent/.htpasswd"
AuthUserFile "/var/www/ruTorrent/.htpasswd"
require valid-user
4 changes: 2 additions & 2 deletions plugins/_task/task.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ public function start( $commands, $flags = self::FLG_DEFAULT )
fputs($sh,'if [ $last -ne 0 ] ; then '."\n");
else
if($cmd[0]=='>')
fputs($sh,'echo "'.substr($cmd,1).'" >> "${dir}"/log'."\n");
fputs($sh,'echo '.escapeshellarg(substr($cmd,1)).' >> "${dir}"/log'."\n");
else
{
if($flags & self::FLG_ECHO_CMD)
fputs($sh,'echo "'.$cmd.'" >> "${dir}"/log'."\n");
fputs($sh,'echo '.escapeshellarg($cmd).' >> "${dir}"/log'."\n");
if($flags & self::FLG_NO_ERR)
fputs($sh,$cmd.' >> "${dir}"/log'."\n");
else
Expand Down
1 change: 0 additions & 1 deletion plugins/create/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ plugin.onLangLoaded = function()
'</form>').width(0).height(0));
$("#xcsave").click( function()
{
$("#xtaskno").val();
$('#xgetfile').submit();
});
if(thePlugins.isInstalled("_getdir"))
Expand Down

0 comments on commit 30fe43a

Please sign in to comment.