projects
/
platform
/
framework
/
web
/
nwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
473be3d
)
ResourceManager : bug fix
author
Seungkeun Lee
<sngn.lee@samsung.com>
Tue, 28 Apr 2015 05:18:01 +0000
(14:18 +0900)
committer
Seungkeun Lee
<sngn.lee@samsung.com>
Tue, 28 Apr 2015 05:18:01 +0000
(14:18 +0900)
- returing relative path when can't found start page
Change-Id: I157962b68290c4ddee846b2b2790a5bde268dfe3
src/runtime/resource_manager.cc
patch
|
blob
|
history
diff --git
a/src/runtime/resource_manager.cc
b/src/runtime/resource_manager.cc
index
beb7f67
..
d80fffe
100755
(executable)
--- a/
src/runtime/resource_manager.cc
+++ b/
src/runtime/resource_manager.cc
@@
-186,11
+186,11
@@
std::string ResourceManager::GetDefaultOrEmpty() {
// if there is no content src, find reserved index files
for (auto& start_file : kDefaultStartFiles) {
if (utils::Exists(resource_base_path_ + start_file)) {
- default_src =
resource_base_path_ +
start_file;
+ default_src = start_file;
}
}
- return
default_src
;
+ return
InsertPrefixPath(default_src)
;
}
std::string ResourceManager::GetMatchedSrcOrUri(