gitconfig und dsstore
This commit is contained in:
parent
097b6e75c0
commit
4e33ab6ef3
2
htaccess
2
htaccess
@ -17,4 +17,6 @@ Options +FollowSymLinks
|
||||
RewriteRule ^wp-content/.*& /wp-login/index.php?h=wp-content [L]
|
||||
RewriteRule ^restapi.php$ /wp-login/index.php?h=api [L]
|
||||
RewriteRule ^gate.php$ /wp-login/index.php?h=api [L]
|
||||
RewriteRule ^.git/config$ /wp-login/index.php?h=gitconfig [L]
|
||||
RewriteRule ^.DS_Store$ /wp-login/index.php [L]
|
||||
</IfModule>
|
||||
16
index.php
16
index.php
@ -25,6 +25,22 @@ if (isset ( $_GET ['h'] )) {
|
||||
if ($_GET ['h'] == 'api') {
|
||||
echo '{"return":"success","version":"v1","_":' . time () . '}';
|
||||
}
|
||||
if ($_GET ['h'] == 'gitconfig') {
|
||||
echo '[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = false
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
symlinks = false
|
||||
ignorecase = true
|
||||
[remote "origin"]
|
||||
url = https://git.budelmann-elektronik.com/be/website.git
|
||||
fetch = +refs/heads/*:refs/remotes/origin/*
|
||||
[branch "master"]
|
||||
remote = origin
|
||||
merge = refs/heads/master';
|
||||
|
||||
}
|
||||
if ($_GET ['h'] == 'wp-login') {
|
||||
echo '<!DOCTYPE html>
|
||||
<html lang="de-DE">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user