| Summary: | all php files searched in php project root URL even if they are inside a subdir | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Imre Péntek <pentek.imre> |
| Component: | Language Support: PHP | Assignee: | KDevelop Developers <kdevelop-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.0.1 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Imre Péntek
2004-05-02 18:22:26 UTC
i can confirm this bug with kdevelop-3.3.0-rc1 In automake manager at the middle I click the second leftmost button, and kdevelop crashes. I cannot reproduce by intention. Well sorry, disregard my previous post. 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();
}
thanks. |