Show
Ignore:
Timestamp:
10/02/05 11:02:10 (3 years ago)
Author:
mbonetti
Message:

Added sqlite related information

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/rss/dbinit.php.sample

    r548 r923  
    22 
    33// 
    4 // The name of your MySQL database 
     4// The type of database server you are using. By default 
     5// Gregarius will look for a MySQL database server. If you 
     6// would like to use an SQLite database, change accordingly 
     7// 
     8define ('DBTYPE','mysql'); 
     9//define ('DBTYPE',"sqlite"); 
     10 
     11// 
     12// The name of your database 
    513// 
    614define ('DBNAME','database_name'); 
     
    1927 
    2028// 
     29// If you are using a MySQL database: 
    2130// The hostname of your database server. Unless you know 
    2231// different this should probably be 'localhost' or '127.0.0.1' 
     32// 
     33// If you are using a SQLite database: 
     34// This constant must contain the full path to your database file,  
     35// for example: '/tmp/gregarius.db' 
     36// Note that the apache process must have write access privileges  
     37// on the given directory! 
    2338// 
    2439define ('DBSERVER', 'localhost'); 
     
    2843// say 'gregarius', your database table 'channels' will be referred to  
    2944// as 'gregarius_channels'. This is useful to avoid table collisions when  
    30 // your hosting provider only allows you one single database and several 
     45// your hosting provider only grants you one single database and several 
    3146// applications rely on that db. 
    3247//