Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ob_start();
- require 'inc/config.php';
- header('Content-Type: text/html; charset=utf-8');
- $mysql = mysql_connect($config['db']['host'], $config['db']['user'], $config['db']['pass']) or die('Nie można uzyskać połączenia z bazą danych (<b>' . mysql_error() . '</b>)');
- $database = mysql_select_db($config['db']['name']) or die('Nie można wybrać bazy!');
- mysql_query("SET NAMES utf8");
- mysql_query("SET CHARACTER SET utf8");
- mysql_query("SET collation_connection = utf8_polish_ci");
- $link = $config['page']['url'];
- $page = $config['page']['slogan'];
- $title = $config['page']['title'].' -|- '.strtoupper($page);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement