[Bug 80792] all php files searched in php project root URL even if they are inside a subdir
Andreas Pakulat
apaku at gmx.de
Sun Jan 14 19:23:31 UTC 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=80792
apaku gmx de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From apaku gmx de 2007-01-14 20:23 -------
SVN commit 623419 by apaku:
Use project-relative path for opening php projects in web-mode.
BUG:80792
M +1 -1 phpsupportpart.cpp
--- branches/kdevelop/3.4/languages/php/phpsupportpart.cpp #623418:623419
@ -283,7 +283,7 @
KParts::ReadOnlyPart *ro_part = dynamic_cast<KParts::ReadOnlyPart*>(partController()->activePart());
if (ro_part) {
if ( configData->getInvocationMode() == PHPConfigData::Web )
- file = ro_part->url().fileName();
+ file = URLUtil::relativePath( project()->projectDirectory(), ro_part->url().path() );
else
file = ro_part->url().path();
}
More information about the KDevelop-devel
mailing list