Skip to content

Instantly share code, notes, and snippets.

@rsmarshall
Created July 10, 2012 11:51
Show Gist options
  • Save rsmarshall/3082871 to your computer and use it in GitHub Desktop.
Save rsmarshall/3082871 to your computer and use it in GitHub Desktop.
irealms boxfile
web1: #component type & number
name: irealms-pyrocms #component settings
shared_writable_dirs:
- /system/cms/cache/
- /system/cms/logs/
- /uploads/
php_extensions:
- mysql
- gd
- curl
#database.php
// Production
$db[PYRO_PRODUCTION] = array(
'hostname' => $_SERVER['DB1_HOST'],
'username' => $_SERVER['DB1_USER'],
'password' => $_SERVER['DB1_PASS'],
'database' => $_SERVER['DB1_NAME'],
'dbdriver' => 'mysql',
'active_r' => TRUE,
'pconnect' => FALSE,
'db_debug' => FALSE,
'cache_on' => FALSE,
'char_set' => 'utf8',
'dbcollat' => 'utf8_unicode_ci',
'port' => $_SERVER['DB1_PORT'],
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment