; section5_except/config.ini - Production site configuration data [production] debug = false webhost = gavin.zfdev.com ; Change this to your timezone ; http://unicode.org/cldr/data/diff/supplemental/territory_containment_un_m_49.html timezone = "America/Los_Angeles" ; Where to append each request's "log" of "interesting" events log = "zfdemo.log" ; ZFDemo is 100% UTF-8 view.encoding = "UTF-8" ; In a view, "$this->escape($string)" will use this function: view.escape = "htmlentities" ; Append the ZFDemo_Log log for the current request to the view view.showLog = true ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; use raw SQL with PDO in the demo ('pdo'), or use Zend_Db_Table* ('tableGateway') db.modelSet = tableGateway ; todo: add support for other databases db.type = mysql ; todo: add support for InnoDB table type db.transactions = false ; DB natively supports DRI (declarative referential integrity)? ; http://en.wikipedia.org/wiki/Declarative_Referential_Integrity (bottom half of page) ; Suggestion: Use native DRI in RDBMS, if available, instead of cascaded writes in Zend_Db_Table*. ; Note: Currently, the ZFDemo does not include a schema file supporting DRI. db.DRI = false db.dsn.username = admin db.dsn.password = demo ; For configuring db.host and db.unix_socket, see: ; http://framework.zend.com/wiki/x/7k8 ; Do NOT use both db.host and db.unix_socket. ; If you need a TCP/IP connection to MySQL, use: db.dsn.host = 127.0.0.1 ; If you need a file-system-based socket, use: ;db.dsn.unix_socket = "/var/run/mysqld/mysqld.sock" db.dsn.dbname = zfdemo ; Staging site configuration data ; - inherits from production ; - overrides values of keys, if needed ; - adds additional pairs [sandbox : production] database.name = zfdemo debug = true ; use raw SQL with the PDO driver, ; instead of ZF Row/Table components db.modelSet = pdo