milandi wrote: |
Hi,
I got an php project which directory structure looks like this:
c:\mywebsite
c:\mywebsite\public <- index.php
c:\mywebsite\code <- all code is here
Yhe way it is coded, mywebsite is supposed to point to c:\mywebsite\public .
I am debugging locally with Apache.
So if I create project which root directory is c:\mywebsite\public and url mywebsite it works but:
1. I don't see all php files from c:\mywebsite\code
2. I can't debug because files are not in project
However if I create a phpEd project which root is c:\mywebsite then web site doesn't work because it expects that mywebsite points to public directory.
What I need is:
root directory = c:\mywebsite
remote root directory = c:\mywebsite\public
(and mywebiste.com pointed to c:\mywebsite\public)
Is it possible to achieve this with phpEd?
thanks |
Hi,
I use a similar file layout and phped sure works.
in phped project settings try:
a) properties tab -> project - > root directory: c:\mywebsite\
b) properties tab -> mapping -> remote root directory: c:\mywebsite\
c) mappings tab -> 2 entries:
1st entry: c:\mywebsite - c:\mywebsite - empty - /
2nd entry: c:\mywebsite\public - c:\mywebsite\public - http://mywebsite - empty
Hope this helps
Nuno