diff options
| author | Ada Isopods <me@bathynomus.xyz> | 2026-10-21 23:29:29 -0600 |
|---|---|---|
| committer | Ada Isopods <me@bathynomus.xyz> | 2026-10-21 23:30:36 -0600 |
| commit | 2ac93c5be73455a9f9ea3d53b300385078f9008b (patch) | |
| tree | c06ad45be3246fc6fe862228e1a407d0d3734db5 /txt/index.php | |
| parent | c588388e1a66c326a30de15dded84a80ddbab67a (diff) | |
Diffstat (limited to 'txt/index.php')
| -rwxr-xr-x | txt/index.php | 5 |
1 files changed, 2 insertions, 3 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"); |
