revert dashboard changes in favor of crontab entry

This commit is contained in:
chestnutit committed 2024-07-23 09:34:31 +07:00
1 parent dc11391e6c
commit 90d2421c03
1 file changed
-5
-5
View File
@@ -1,8 +1,3 @@
<?php
include_once 'header.php';
$old_path = getcwd();
chdir('/var/www/');
$output = shell_exec('./getcron');
chdir($old_path);
echo $output;
echo nl2br(file_get_contents( "streams.txt" ));