I was changing my application from its directory but I am having trouble because not being able to use the database functions. Every time I try to use my login function I get the following error
include(PDO.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory
this happens when the code runs the following function
$user = Yii::app()->db->createCommand()
To change the directory I just placed the a copy of framework and a copy of the application on the same positions in the new directory
if more information is needed just ask.