file_exists('include/env.php'),
'config_exists' => file_exists('include/config.php'),
'images_dir' => is_dir('images'),
'cache_dir' => is_dir('cache'),
'writable' => is_writable('include/')
];
$all_good = array_reduce($setup_status, function($carry, $item) {
return $carry && $item;
}, true);
?>
Setup Complete!
Your OpenSim Webinterface is ready to use.
Configuration Needed
Please complete the following steps to finish setup.
Step 1: Database Configuration
Create the database configuration file:
cp include/env.example.php include/env.php
Then edit include/env.php with your database credentials:
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'your_opensim_db_user');
define('DB_PASSWORD', 'your_opensim_db_password');
define('DB_NAME', 'your_opensim_database');
✓ Database configuration file exists
Step 2: Website Configuration
Create the main configuration file:
cp include/config.example.php include/config.php
Edit include/config.php and update:
BASE_URL - Your website URL
SITE_NAME - Your grid name
HEADER_FILE - Choose your template (use 'headerModern.php' for the new design)
✓ Main configuration file exists
Step 3: Images Directory
Create the images directory for slideshow:
mkdir images
Add your slideshow images to this directory (JPG, PNG, GIF formats supported).
✓ Images directory exists
Step 4: Cache Directory
Create the cache directory:
mkdir cache
chmod 755 cache
✓ Cache directory exists
Additional Notes:
- Make sure your web server has read/write permissions to the cache directory
- For security, ensure your database user has only necessary permissions
- The new modern interface is available at
*_modern.php files
- Test database connectivity after configuration
OpenSimulator Configuration
Add these lines to your Robust.HG.ini file:
MapTileURL = "${Const|BaseURL}:${Const|PublicPort}/oswebinterface/maptile.php"
SearchURL = "${Const|BaseURL}:${Const|PublicPort}/oswebinterface/searchservice.php"
DestinationGuide = "${Const|BaseURL}/oswebinterface/guide.php"
AvatarPicker = "${Const|BaseURL}/oswebinterface/avatarpicker.php"
welcome = ${Const|BaseURL}/oswebinterface/welcomesplashpage.php
about = ${Const|BaseURL}/oswebinterface/aboutinformation.php
register = ${Const|BaseURL}/oswebinterface/createavatar.php
help = ${Const|BaseURL}/oswebinterface/help.php