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-intros.php | 721 --------------------------------- 1 file changed, 721 deletions(-) delete mode 100644 html/app/views/simple/lorem-intros.php (limited to 'html/app/views/simple/lorem-intros.php') diff --git a/html/app/views/simple/lorem-intros.php b/html/app/views/simple/lorem-intros.php deleted file mode 100644 index a3629e1..0000000 --- a/html/app/views/simple/lorem-intros.php +++ /dev/null @@ -1,721 +0,0 @@ -latest_published_posts(0, 900, 'id, title, intro'); -$tags = $wiki->all_tags(); - -shuffle($posts); -shuffle($titles); - - -for ($i = 0 ; $i < 500 ; $i++) { - // $wiki->set_intro($posts[$i]['id'], some_lorem_intro()); - // $wiki->set_status($posts[$i]['id'], 0); - // $wiki->set_title($posts[$i]['id'], $titles[$i]); - shuffle($tags); - $c = ($i % 3) + 1; - for ($j = 0; $j < $c; $j ++) { $wiki->link_tag_to_post($tags[$j]['id'], $posts[$i]['id']); } -} -echo "done!"; - - - -- cgit v1.2.3