<?php
//
// wordpress on zencart by
http://www.s-page.net/
//
$woz_install=0;
if (file_exists(DIR_FS_CATALOG . 'wp-settings.php')) {
$woz_install=1;
define('WP_USE_THEMES', true);
$wp_did_header = true;
define('DB_NAME', DB_DATABASE); // The name of the database
define('DB_USER', DB_SERVER_USERNAME); // Your MySQL username
define('DB_PASSWORD', DB_SERVER_PASSWORD); // ...and password
define('DB_HOST', DB_SERVER); // 99% chance you won't need to change this value
// You can have multiple installations in one database if you give each a unique prefix
$table_prefix = DB_PREFIX . 'wp_'; // Only numbers, letters, and underscores please!
// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', '');
/* That's all, stop editing! Happy blogging. */
//define('ABSPATH', './wordpress/');
define('ABSPATH', DIR_FS_CATALOG);
require_once(ABSPATH.'wp-settings.php');
$i=strlen(DIR_WS_CATALOG);
$req=substr($_SERVER['REQUEST_URI'],$i,1);
if($req=='?'){
$_GET['main_page']='wordpress';
}
if(isset($_GET['feed'])){
wp();
gzip_compression();
// require_once('./wordpress/wp-includes/template-loader.php');
require_once('./wp-includes/template-loader.php');
exit();
}
}
?>