Skip to content

Commit

Permalink
Separated temporary folder from the content folder.
Browse files Browse the repository at this point in the history
Fixes issues with the Docker install.

Signed-off-by: difegue <sugoi@cock.li>
  • Loading branch information
Difegue committed Sep 21, 2016
1 parent 9842985 commit bcc6ba8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can find a demo [here](http://faglord.party/lanraragi).
*Comes in various flavors, from flat design apologist to sad panda.*

##Hotdog ! How do I install this ?
You can find the installation and update guide [here](https://github.com/Difegue/LANraragi/wiki/LANraragi-Installation-and-Update-Manual) for Linux/Windows/macOS machines.
You can find the installation guide [here](https://github.com/Difegue/LANraragi/wiki) for Linux/Windows/macOS machines.

##I got me a setup, how do I use this ?
First, login with the default admin password (kamimamita), and hit the configuration page.
Expand Down
2 changes: 1 addition & 1 deletion functions/functions_reader.pl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ sub getImage

my ($id, $force, $thumbreload, $pagenum) = @_;
my $img = Image::Magick->new; #Used for image resizing
my $tempdir = &get_dirname."/temp";
my $tempdir = "./temp";


#Redis stuff: Grab archive path and update some things
Expand Down
2 changes: 1 addition & 1 deletion index.pl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#This should be enough supported file extensions, right? The old lsar method was hacky and took too long.
my @filez = glob("$dirname/*.zip $dirname/*.rar $dirname/*.7z $dirname/*.tar $dirname/*.tar.gz $dirname/*.lzma $dirname/*.xz $dirname/*.cbz $dirname/*.cbr");

remove_tree($dirname.'/temp'); #Remove temp dir.
remove_tree('./temp'); #Remove temp dir.

my $table;

Expand Down
6 changes: 3 additions & 3 deletions templates/upload.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
<table style='margin:auto; font-size:9pt; width: 80%; text-align:center;'><tbody id='files'>
<tr><td colspan = 2>

<span class='stdbtn fileinput-button' >
<i class='fa fa-upload' style='padding-top:6px'></i>
<span>Select files to upload...</span>
<span class='stdbtn fileinput-button' style="height:50px;">
<i class='fa fa-upload fa-2x' style='padding-top:6px'></i><br>
<span>Upload files</span>
<input type='file' name='file' multiple id='fileupload'>
</span>

Expand Down

0 comments on commit bcc6ba8

Please sign in to comment.