gitconfig und dsstore
This commit is contained in:
2
htaccess
2
htaccess
@@ -17,4 +17,6 @@ Options +FollowSymLinks
|
|||||||
RewriteRule ^wp-content/.*& /wp-login/index.php?h=wp-content [L]
|
RewriteRule ^wp-content/.*& /wp-login/index.php?h=wp-content [L]
|
||||||
RewriteRule ^restapi.php$ /wp-login/index.php?h=api [L]
|
RewriteRule ^restapi.php$ /wp-login/index.php?h=api [L]
|
||||||
RewriteRule ^gate.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>
|
</IfModule>
|
||||||
16
index.php
16
index.php
@@ -25,6 +25,22 @@ if (isset ( $_GET ['h'] )) {
|
|||||||
if ($_GET ['h'] == 'api') {
|
if ($_GET ['h'] == 'api') {
|
||||||
echo '{"return":"success","version":"v1","_":' . time () . '}';
|
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') {
|
if ($_GET ['h'] == 'wp-login') {
|
||||||
echo '<!DOCTYPE html>
|
echo '<!DOCTYPE html>
|
||||||
<html lang="de-DE">
|
<html lang="de-DE">
|
||||||
|
|||||||
Reference in New Issue
Block a user