Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pmtpro committed Dec 26, 2024
1 parent 97dd623 commit 27bdba2
Show file tree
Hide file tree
Showing 8 changed files with 527 additions and 535 deletions.
704 changes: 352 additions & 352 deletions .init.php

Large diffs are not rendered by default.

Binary file added adminer.zip
Binary file not shown.
23 changes: 5 additions & 18 deletions logout.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
<?php define('ACCESS', true);
<?php

include_once '.init.php';
define('ACCESS', true);

setcookie(FM_COOKIE_NAME, '', 0);
goURL('index.php');

/*
if (IS_LOGIN) {
setcookie(FM_COOKIE_NAME, '', 0);
require '.init.php';

$ref = $_SERVER['REQUEST_URI'];
$ref = $ref != $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ? $ref : null;
setcookie(FM_COOKIE_NAME, '', 0);

if (IS_LOGIN)
goURL('login.php');
else
goURL($ref != null ? $ref : 'index.php');
} else {
goURL('login.php');
}
*/
goURL('index.php');
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@codemirror/lang-php": "^6.0.1",
"@codemirror/lang-sass": "^6.0.2",
"@codemirror/lang-sql": "^6.8.0",
"@codemirror/language": "^6.10.7",
"@codemirror/language": "^6.10.8",
"@codemirror/search": "^6.5.8",
"@codemirror/state": "^6.5.0",
"@codemirror/view": "6.36.1",
Expand All @@ -22,6 +22,6 @@
"@rollup/plugin-terser": "^0.4.4",
"cm6-theme-material-dark": "^0.2.0",
"codemirror": "^6.0.1",
"rollup": "^4.28.1"
"rollup": "^4.29.1"
}
}
5 changes: 5 additions & 0 deletions phpinfo.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

if (isset($_COOKIE['fm_php'])) {
phpinfo();
}
Loading

0 comments on commit 27bdba2

Please sign in to comment.