Initial commit
This commit is contained in:
13
playarea/scripts/pages/main_page.php
Normal file
13
playarea/scripts/pages/main_page.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
$b->router_add("/", "main.php", array("get", "post"));
|
||||
$b->event_add(base64_encode( "/"), "main_page");
|
||||
|
||||
function main_page()
|
||||
{
|
||||
global $b;
|
||||
$b->title_set($b->setting_get_value("bive_site_name"));
|
||||
$b->meta_add("viewport", "width=device-width, user-scalable=no");
|
||||
$b->meta_add("description", $b->setting_get_value("main_page_description"));
|
||||
$b->link_add(array("rel" => "canonical", "href" => $b->router_get_canonical_uri()));
|
||||
}
|
||||
Reference in New Issue
Block a user