aboutsummaryrefslogtreecommitdiff
path: root/fn/fn.php
diff options
context:
space:
mode:
Diffstat (limited to 'fn/fn.php')
-rw-r--r--fn/fn.php14
1 files changed, 11 insertions, 3 deletions
diff --git a/fn/fn.php b/fn/fn.php
index e64a9c4..cef8a1c 100644
--- a/fn/fn.php
+++ b/fn/fn.php
@@ -1,6 +1,4 @@
-secure
-
-session
+<h4>functions</h4>
<?php
function bddconnect($host, $bdname, $user, $password)
@@ -24,5 +22,15 @@ function secure()
header("location: /");
}
}
+
+function head($title) {
+ ?>
+ <head>
+ <meta charset="utf8" />
+ <link href="" rel="stylesheet" />
+ <title><?= $title ?></title>
+ </head>
+ <?php
+}
?>