aboutsummaryrefslogtreecommitdiff
path: root/txt
diff options
context:
space:
mode:
Diffstat (limited to 'txt')
-rwxr-xr-xtxt/index.php5
-rwxr-xr-xtxt/sys.log1
2 files changed, 2 insertions, 4 deletions
diff --git a/txt/index.php b/txt/index.php
index 7c8006e..8cfb5b9 100755
--- a/txt/index.php
+++ b/txt/index.php
@@ -14,9 +14,8 @@
<p>$ cat sys.log</p>
<section class="dir">
<?php
- $infile = fopen("sys.log", "r") or die("file read error -_-");
- $content = fread($infile,filesize("sys.log"));
- fclose($infile);
+ $fp = "/var/www/data/deeptwisty/sys.log";
+ $content = file_get_contents($fp);
$post_arr = explode("\n",$content);
$posts_out = "";
date_default_timezone_set("Etc/GMT-1");
diff --git a/txt/sys.log b/txt/sys.log
deleted file mode 100755
index f204d4b..0000000
--- a/txt/sys.log
+++ /dev/null
@@ -1 +0,0 @@
-1723020800 new website dropped \ No newline at end of file