Hi @ all !
I would like to display a small forum (PunBB) into my Yii blog.
I first created a controller I called ForumController that contains the following :
<?php
class ForumController extends Controller
{
public $layout='column2';
public function ActionIndex() {
$this->render('forum');
}
}
And a corresponding view into ‘views/forum/forum.php’ that contains the following :
<?php
include('_forum/index.php');
But the forum uses mysql functions like mysql_connect() or mysql_query() which are not allowed in a Yii environnment.
So, how can I allow these "quick" queries ?