This commit is contained in:
Henrique Dias committed 2016-07-05 17:49:15 +01:00
1 parent 37c77a3cee
commit 7743b56f05
2 files changed
+5 -6

No files matched your search

+1 -2
View File
@@ -8,7 +8,6 @@
package filemanager
import (
"fmt"
"io"
"io/ioutil"
"log"
@@ -75,8 +74,8 @@ func (f FileManager) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, err
return assets.Serve(w, r, c)
}
// Generate anti security token
c.GenerateToken()
fmt.Println(c.Token)
if !fi.IsDir {
query := r.URL.Query()