1 view
Skip to first unread message

jea

unread,
Nov 3, 2010, 5:32:48 AM11/3/10
to cryst...@googlegroups.com
hello from sweden!
I have downloaded the latest version.
when I have configured the database.php, is there anything more I have to do before using?
 
and - how do I use it?
do I simply call
<? require_once('../crystal/Crystal.php'); ?>
in a script?
 
best Regards
 
jea
 
 
 

Martin

unread,
Nov 3, 2010, 8:29:08 AM11/3/10
to crystal
Hi, Jea

Yes that's all you need to do. If you are using a framework or
something like that include the file in index.php

and after that in the model just assign it to a variable. $this->db =
Crystal::db();

Regards, Martin
Reply all
Reply to author
Forward
0 new messages