BUG-将图像/文件移动到子文件夹会导致php包含损坏 [英] BUG- Moving images/files to sub folders causes php includes to corrupt
问题描述
我正在EWD3上建立一个相当大的全新网站,并且我很早就注意到如果我在我的PC网站版本中创建了一个文件夹,然后将一个php文件从根文件移到该文件夹,那么EWD3已损坏该文件中的所有include语句。我一开始忽略了它,但现在我发现它对法师也是如此,例如我将四个图像从图像文件夹中的子文件夹移动到一个新的子文件夹:
images / course-sw to images / courses-mid
那么EWD3改变页面中的ref或文件本身没问题但是它决定攻击该页面上的所有php包含并替换要包含的文件名使用图像参考我刚刚移动:
所以
左右
< / div>
成为
< div id =" header">
<?php include( '图像/课程-中/ cradocth.jpg'); ?>
< / div>
当我移动图像时文件/页面本身已关闭。
这太烦人了,浪费时间! br />我今天密切注意到3个单独的文件发生了这种情况。
有没有人有解决方案
我正在使用干净安装EWD3清洁安装Windows 7专业版。
感谢员工
当我回到办公室时,我将不得不仔细检查但我相信这是一个已知的错误,我们在即将推出的服务包中修复了这个错误。
Paul Bartholomew
Microsoft Expression Web
I am working on a rather large brand new site in EWD3 and thought I noticed very early on that if I created a folder in my PCs website version, then moved say a php file from the root to that folder, then EWD3 corrupted all the include statements within that file. I ignored it at first but now I have found it does this to mages as well e.g
I moved four images from a sub folder in the images folder to a new sub folder:
images/courses-sw to images/courses-mid
Well EWD3 changes the ref in the page or file itself no problem but then it decides to attack all php includes on that page and replace the file name to be included with the image ref I just moved:
So
<div id="header">
<?php include('incl-header.php'); ?>
</div>
becomes
<div id="header">
<?php include('images/courses-mid/cradocth.jpg'); ?>
</div>
The file /page itself is closed when I move the images.
This is so annoying and time wasting!
I have closely watched this happen to 3 seperate files today.
Does anyone have a solution please
I am using clean install EWD3 on clean install Windows 7 Pro.
Thanks
Phil
I'll have to double-check when I get back into the office but I believe this is a known bug, one that we fixed in the upcoming service pack.
Paul Bartholomew
Microsoft Expression Web
这篇关于BUG-将图像/文件移动到子文件夹会导致php包含损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!