mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Moved defaults to common + dir move changes
git-svn-id: file:///svn/phpbb/trunk@184 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
329b5e116b
commit
28cb384994
2 changed files with 30 additions and 25 deletions
|
@ -25,6 +25,32 @@
|
||||||
include('config.'.$phpEx);
|
include('config.'.$phpEx);
|
||||||
include('includes/constants.'.$phpEx);
|
include('includes/constants.'.$phpEx);
|
||||||
|
|
||||||
|
//
|
||||||
|
// Default variable values - most if not all
|
||||||
|
// of these have equivalents in a DB table but
|
||||||
|
// for situations where the DB cannot be read or where
|
||||||
|
// data is missing this data is used instead
|
||||||
|
//
|
||||||
|
//$date_format = "m-d-Y H:i:s"; // American datesformat
|
||||||
|
$date_format = "d M Y h:i:s a"; // European datesformat
|
||||||
|
|
||||||
|
$url_images = "images";
|
||||||
|
$image_quote = "$url_images/quote.gif";
|
||||||
|
|
||||||
|
$image_edit = "$url_images/edit.gif";
|
||||||
|
$image_profile = "$url_images/profile.gif";
|
||||||
|
$image_email = "$url_images/email.gif";
|
||||||
|
$image_pmsg = "$url_images/pm.gif";
|
||||||
|
$image_delpost = "$url_images/edit.gif";
|
||||||
|
|
||||||
|
$image_ip = "$url_images/ip_logged.gif";
|
||||||
|
|
||||||
|
$image_www = "$url_images/www_icon.gif";
|
||||||
|
$image_icq = "$url_images/icq_add.gif";
|
||||||
|
$image_aim = "$url_images/aim.gif";
|
||||||
|
$image_yim = "$url_images/yim.gif";
|
||||||
|
$image_msnm = "$url_images/msnm.gif";
|
||||||
|
|
||||||
// Find Users real IP (if possible)
|
// Find Users real IP (if possible)
|
||||||
$user_ip = ($HTTP_X_FORWARDED_FOR) ? $HTTP_X_FORWARDED_FOR : $REMOTE_ADDR;
|
$user_ip = ($HTTP_X_FORWARDED_FOR) ? $HTTP_X_FORWARDED_FOR : $REMOTE_ADDR;
|
||||||
|
|
||||||
|
@ -32,10 +58,10 @@ $user_ip = ($HTTP_X_FORWARDED_FOR) ? $HTTP_X_FORWARDED_FOR : $REMOTE_ADDR;
|
||||||
include('includes/template.inc');
|
include('includes/template.inc');
|
||||||
$template = new Template("./templates/Default");
|
$template = new Template("./templates/Default");
|
||||||
|
|
||||||
include('functions/error.'.$phpEx);
|
include('includes/error.'.$phpEx);
|
||||||
include('functions/sessions.'.$phpEx);
|
include('includes/sessions.'.$phpEx);
|
||||||
include('functions/auth.'.$phpEx);
|
include('includes/auth.'.$phpEx);
|
||||||
include('functions/functions.'.$phpEx);
|
include('includes/functions.'.$phpEx);
|
||||||
include('includes/db.'.$phpEx);
|
include('includes/db.'.$phpEx);
|
||||||
|
|
||||||
// Initalize to keep safe
|
// Initalize to keep safe
|
||||||
|
|
|
@ -37,28 +37,7 @@ $dbname = "";
|
||||||
$dbuser = "";
|
$dbuser = "";
|
||||||
$dbpasswd = "";
|
$dbpasswd = "";
|
||||||
|
|
||||||
// Date format (needs to go into DB)
|
|
||||||
//$date_format = "m-d-Y H:i:s"; // American datesformat
|
|
||||||
$date_format = "d M Y h:i:s a"; // European datesformat
|
|
||||||
|
|
||||||
// DB table prefix
|
// DB table prefix
|
||||||
$table_prefix = "phpbb_";
|
$table_prefix = "phpbb_";
|
||||||
|
|
||||||
$url_images = "images";
|
|
||||||
$image_quote = "$url_images/quote.gif";
|
|
||||||
|
|
||||||
$image_edit = "$url_images/edit.gif";
|
|
||||||
$image_profile = "$url_images/profile.gif";
|
|
||||||
$image_email = "$url_images/email.gif";
|
|
||||||
$image_pmsg = "$url_images/pm.gif";
|
|
||||||
$image_delpost = "$url_images/edit.gif";
|
|
||||||
|
|
||||||
$image_ip = "$url_images/ip_logged.gif";
|
|
||||||
|
|
||||||
$image_www = "$url_images/www_icon.gif";
|
|
||||||
$image_icq = "$url_images/icq_add.gif";
|
|
||||||
$image_aim = "$url_images/aim.gif";
|
|
||||||
$image_yim = "$url_images/yim.gif";
|
|
||||||
$image_msnm = "$url_images/msnm.gif";
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue