Welcome Guest, Not a member yet? Register   Sign In
codeigniter and doctrine 1.1.1 ?
#1

[eluser]adwin[/eluser]
Hi,

I read from this

http://codeigniter.com/wiki/Using_Doctri...e_Igniter/
and following this way of installing doctrine
http://blog.medryx.org/2008/10/04/codeig...-doctrine/

but when i tried to start CLI i Got

" no direct access script allowed " ..

afaik it caused by direct access to /config/database.php

has anyone successfully install ci 1.7.1 with doctrine 1.1.1 ?

let me know how to setup the CLI
thank you !!!
#2

[eluser]GSV Sleeper Service[/eluser]
just remove this from the top of config/database.php

Code:
if ( ! defined('BASEPATH')) exit('No direct script access allowed');

of course, this isn't strictly safe, but I always move the config folder well away from the web root.




Theme © iAndrew 2016 - Forum software by © MyBB