Supporto SQLite per il JS5

Ho finalmente aggiunto il supporto SQLite al JS5, il file di configurazione risulta leggermente modificato:

<?php

$init		= array();

$init['upload_dir']	= '/home/andrea/public_html/public_uploads/';
$init['base_url']	= 'http://andrea.nds-site.com/';
$init['base_dir']	= '/home/andrea/public_html/';
$init['db_mode']	= 'mysql';
$init['admin']		= 'andrea@nds-site.com';
$init['sql_host']	= 'localhost';
$init['sql_database']	= 'jolteon_shack';
$init['sql_prefix']	= 'js_';
$init['sql_user']	= 'root';
$init['sql_password']	= '!5g76GH^';
$init['lite_database']	= 'jolteon_shack.db';
$init['lite_prefix']	= 'js_';
$init['lite_mode']	= '0666';
$init['lite_path']	= '/home/andrea/public_html/sources/';

?>

Per caricare invece la class SQLite al posto che quella mysql:

require "./sources/" . $jsclass->init['db_mode'] . ".php";
$this->db = new database();

Tra pochi giorni pubblicherò l’installer fifi

3 Comments Posted in Varie

3 Comments

  1. Jolteon rulla :rulla:

Leave a Reply

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>