![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I started using Dreamweaver 8 today and I just stumbled across a problem. I use a lot of php includes and templates throughout my sites. When I create a new template all the include paths are changed adding the Template folder to the beginning of the path. MX never used to do this... I should think that the Template should leave alone any path within the PHP tags. Has anyone else run into this problem? Or is it only me? Thanks. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
No, the includes are not. I set the include path at the top of every page as I use different classes for various things. One being the cfg file that holds the database connection. For example... include("cfg.php"); get turned into: include("Templates/cfg.php"); When I go back to MX04 no problems, the Templates leave the paths in the PHP alone. I think this is definitely a bug! |
#5
| |||
| |||
|
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Do we have a solution for this? It isn't Mac specific, I'm on PC and end up with path rewriting that states that php includes are in the Templates folder when of course they are not. |
#8
| |||
| |||
|
#9
| |||
| |||
|
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |