From 68fc9e55e538e03f94509731ab41a0c8cf96710f Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Mon, 17 Apr 2023 12:12:22 +0300 Subject: setup a real server environment (apache DocumentRoot=/var/www/public) --- html/app/views/simple/lorem-dates.php | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 html/app/views/simple/lorem-dates.php (limited to 'html/app/views/simple/lorem-dates.php') diff --git a/html/app/views/simple/lorem-dates.php b/html/app/views/simple/lorem-dates.php deleted file mode 100644 index 7a7c000..0000000 --- a/html/app/views/simple/lorem-dates.php +++ /dev/null @@ -1,18 +0,0 @@ -setTimestamp(time() - rand(0,30000)*1000 + rand(1,1000) ); - - // return time() - rand(0,30000)*1000 + rand(1,1000); - return $dt->format('Y-m-d H:i:s'); -} - - -include 'pythia.php'; - -$posts = $wiki->latest_posts(0, 900); - -foreach($posts as $post) { - $wiki->set_date($post['id'], some_date()); -} -echo "done!"; \ No newline at end of file -- cgit v1.2.3