added a basic kohana system to be fleshed out into a nrew brewblogger
This commit is contained in:
@@ -10,21 +10,21 @@ INSERT YOUR USERNAME BETWEEN THE DOUBLE-QUOTATION MARKS ("").
|
||||
For example, if your username is fred then the line should read $username_brewblog = "fred".
|
||||
*/
|
||||
|
||||
$username_brewblog = "";
|
||||
$username_brewblog = "brewblogger";
|
||||
|
||||
/*
|
||||
INSERT YOUR PASSWORD BETWEEN THE DOUBLE-QUOTATION MARKS ("").
|
||||
For example, if your password is flintstone then the line should read $password_brewblog = "flintsone".
|
||||
*/
|
||||
|
||||
$password_brewblog = "";
|
||||
$password_brewblog = "bb";
|
||||
|
||||
/*
|
||||
The following line is the name of your MySQL database you set up already.
|
||||
If you haven't set up the database yet, please refer to http://www.brewblogger.net/ for setup instructions.
|
||||
*/
|
||||
|
||||
$database_brewing = "";
|
||||
$database_brewing = "brewblogger_trunk";
|
||||
|
||||
/*
|
||||
This line strings the information together and connects to MySQL.
|
||||
|
||||
26
index.php
26
index.php
@@ -1,14 +1,40 @@
|
||||
<?php
|
||||
|
||||
//image dir / SQL information and connect to MySQL server
|
||||
require_once ('Connections/config.php');
|
||||
|
||||
//choose SQL table and set up functions to user authentication and
|
||||
//navbar configuration for login/logout links
|
||||
require ('includes/authentication_nav.inc.php'); session_start();
|
||||
|
||||
//override various default settings with GET parameters, if they exist
|
||||
include ('includes/url_variables.inc.php');
|
||||
|
||||
//set up brewers, recipes, brewlogs, themes, etc.
|
||||
include ('includes/db_connect_universal.inc.php');
|
||||
|
||||
//i have no idea... needs more looking through
|
||||
include ('includes/db_connect_log.inc.php');
|
||||
|
||||
//include function to check for mobile browsers
|
||||
include ('includes/check_mobile.inc.php');
|
||||
|
||||
//do various abv calculations related to the currently viewed recipe (if any)
|
||||
include ('includes/abv.inc.php');
|
||||
|
||||
//include various conversions functions, date functions and truncate functions
|
||||
//plus additional libs for
|
||||
// titles.inc.php - set up the navigation?
|
||||
// messages.inc.php - tooltips and a few messages
|
||||
// scrubber.inc.php - a few arrays for character replacement
|
||||
include ('includes/plug-ins.inc.php');
|
||||
|
||||
//figure out SRM and a hex value for displaying beer color
|
||||
include ('includes/color.inc.php');
|
||||
|
||||
//determine if club edition or personal edition is in use
|
||||
include ('includes/version.inc.php');
|
||||
|
||||
$imageSrc = "images/";
|
||||
|
||||
// -----------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user