1
kuwie
Re: Get your Xoops for only $149.97.
  • 2006/12/5 10:25

  • kuwie

  • Just popping in

  • Posts: 1

  • Since: 2006/12/5


this is the code from the mainfile.php in phpmyspacegold:

<?php

if ( !defined('XOOPS_MAINFILE_INCLUDED') ) {
define('XOOPS_MAINFILE_INCLUDED', 1);

// Physical Path
// Physical path to your main directory WITHOUT trailing slash
define('XOOPS_ROOT_PATH', '/home/thedemos/public_html');

// Virtual Path (URL)
// Virtual path to your main directory WITHOUT trailing slash
define('XOOPS_URL', 'http://yourdomain.com');

// Database
// Choose the database to be used
$xoopsConfig['database'] = 'mysql';

// Table Prefix
// This prefix will be added to all new tables created to avoid name conflict in the database. If you are unsure, just use the default 'pop'.
$xoopsConfig['prefix'] = 'pop';

// Database Hostname
// Hostname of the database server. If you are unsure, 'localhost' works in most cases.
$xoopsConfig['dbhost'] = 'localhost';

// Database Username
// Your database user account on the host
$xoopsConfig['dbuname'] = 'your db user name here';

// Database Password
// Password for your database user account
$xoopsConfig['dbpass'] = 'your password here';

// Database Name
// The name of database on the host. The installer will attempt to create the database if not exist
$xoopsConfig['dbname'] = 'your db name here';

// Use persistent connection? (Yes=1 No=0)
// Default is 'Yes'. Choose 'Yes' if you are unsure.
$xoopsConfig['db_pconnect'] = 0;

// Default setup language.
$xoopsConfig['default_language'] = 'english';

if ( XOOPS_ROOT_PATH == '' ) {
if ( @file_exists('_install/index.php') ) {
header('Location: _install/index.php');
exit();
}
}

include_once(XOOPS_ROOT_PATH.'/include/common.php');
}

?>





TopTop



Login

Who's Online

161 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 161


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits