Jump to content
Larry Ullman's Book Forums

Errata Page 49


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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...