Jump to content
Larry Ullman's Book Forums

Errata Page 49


Daniele
 Share

Recommended Posts

Hi Larry,  I want to say that your book (even in this stage) worth all of the 15 euros that i spent!

I have a little errata to submit on page 49

 

If you move 'protected' folder from C:\xampp\htdocs\myapp to C:\xampp you have to modify index.php, this is what you wrote in the book:

 

 

$config=dirname(__FILE__).'/protected/config/main.php';
to
$config=dirname(__FILE__).'/../protected/config/main.php';
 
this is what i think is the correct path
 
$config=dirname(__FILE__).'/../../protected/config/main.php';
 
because C:\xampp is two folder above myapp.
 
Bye and thanks for your work!
Link to comment
Share on other sites

 Share

×
×
  • Create New...