diff --git a/playground/index.php b/playground/index.php index d93dac5fc..764990286 100644 --- a/playground/index.php +++ b/playground/index.php @@ -1,27 +1,5 @@ 'Doctrine_Resource_Test_Server', - 'models' => $tables); - - $server = Doctrine_Resource_Server::getInstance($config); - $server->run($_REQUEST); - -} else { - $config = array('url' => 'http://localhost/~jwage/doctrine_trunk/playground/index.php?action=server'); - - $client = Doctrine_Resource_Client::getInstance($config); - - //$table = $client->getTable('User'); - - $query = new Doctrine_Resource_Query(); - - $users = $query->from('User u, u.Phonenumber p, u.Address a, u.Book b, b.Author a')->execute(); -} \ No newline at end of file +require_once('connection.php'); +require_once('models.php'); +require_once('data.php'); \ No newline at end of file