Browse Source

Testing, always testing new stuff.

Andrea Franceschini 8 years ago
parent
commit
ca989c1be7
2 changed files with 12 additions and 1 deletions
  1. 11 0
      pages/api/git-update.php
  2. 1 1
      pages/home.php

+ 11 - 0
pages/api/git-update.php

@@ -0,0 +1,11 @@
+<?php
+
+if($_SERVER['REQUEST_METHOD'] != 'POST') {
+	include error(403);
+	die;
+}
+
+ob_start();
+print_r($_POST);
+file_put_contents('/tmp/log.txt', ob_get_contents(), FILE_APPEND);
+ob_end_clean();

+ 1 - 1
pages/home.php

@@ -8,7 +8,7 @@ $twitter_image = 'images/colopic.jpg';
 
 <?=i('_header')?>
 
-		<h2>I do things_.</h2>
+		<h2>I do things.</h2>
 		
 		<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style><div class='embed-container'><iframe src='https://www.youtube.com/embed/a_GSQNIT7xM?rel=0' frameborder='0' allowfullscreen></iframe></div>