just kidding this shit didn't actually work
This commit is contained in:
parent
95885ac114
commit
9e245fef38
5 changed files with 0 additions and 33 deletions
|
@ -1,9 +0,0 @@
|
||||||
Options -Indexes
|
|
||||||
|
|
||||||
<Files "passwd">
|
|
||||||
Require all denied
|
|
||||||
</Files>
|
|
||||||
|
|
||||||
<Files "git.php">
|
|
||||||
Require all denied
|
|
||||||
</Files>
|
|
|
@ -1,12 +0,0 @@
|
||||||
<?php
|
|
||||||
$userFile = file_get_contents('passwd');
|
|
||||||
$usersTemp = explode("\r\n", $userFile);
|
|
||||||
$users = array();
|
|
||||||
|
|
||||||
foreach($usersTemp as $user) {
|
|
||||||
$userTemp = explode(":", $userFile);
|
|
||||||
$users[$userTemp[0]] = $userTemp[1];
|
|
||||||
unset($userTemp);
|
|
||||||
}
|
|
||||||
|
|
||||||
print_r($users);
|
|
|
@ -1,2 +0,0 @@
|
||||||
<?php
|
|
||||||
require_once 'git.php';
|
|
|
@ -1 +0,0 @@
|
||||||
flashwave:ThisIsHorribleIKnowYouMayKillMeLater
|
|
|
@ -1,9 +0,0 @@
|
||||||
<?php
|
|
||||||
if(isset($_REQUEST['pull'])) {
|
|
||||||
shell_exec('git -C /var/www/flashii.net pull > /var/www/autopull.log');
|
|
||||||
print '<h2>Site should be up with the latest commit now.</h2>';
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<form method="post" action="">
|
|
||||||
<input type="submit" name="pull" value="Pull from Repository" />
|
|
||||||
</form>
|
|
Reference in a new issue