mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-03-19 02:31:43 +01:00
new id format
This commit is contained in:
parent
7846a85415
commit
9fbd5ccac1
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@ Debug/
|
||||
Release/
|
||||
node_modules/
|
||||
package-lock.json
|
||||
out/
|
@ -22,7 +22,8 @@
|
||||
},
|
||||
"homepage": "https://github.com/v0l/void.cat#readme",
|
||||
"dependencies": {
|
||||
"asmcrypto.js": "^2.3.2"
|
||||
"asmcrypto.js": "^2.3.2",
|
||||
"webpack": "^4.31.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"saas": "^1.0.0",
|
||||
|
@ -12,7 +12,7 @@
|
||||
$id = isset($_REQUEST["id"]) ? $_REQUEST["id"] : null;
|
||||
|
||||
if($ref === null && $id !== null) {
|
||||
header("location: /#$id");
|
||||
header("location: /");
|
||||
} else if($id !== null) {
|
||||
$this->Fs = new FileStore(Config::$Instance->upload_folder);
|
||||
if($this->Fs->FileExists($id)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user