Changed database path 75/48375/2
authorAlbert Malewski <a.malewski@samsung.com>
Fri, 18 Sep 2015 13:02:56 +0000 (15:02 +0200)
committerAlbert Malewski <a.malewski@samsung.com>
Fri, 18 Sep 2015 13:09:56 +0000 (06:09 -0700)
[Issue]    N/A
[Problem]  There was wrong database path which resulted in fails
           while launching the browser.
[Cause]    Wrong Tizen platform variable was used.
[Solution] Used TZ_USER_APP instead of TZ_USER_DB.
[Verify]   Launch browser > Observe logs
           There shouldn't be fails in logs while loading database.

Change-Id: I2641314543647e15cdfc70b5b8decc201fdcc57b

core/Config/Config.cpp

index 26657346a196d5bdcaa1d1e9e7821ee119a916f5..d9f5490bd3a13a38423e8badc0e22c9f540525b9 100644 (file)
@@ -26,7 +26,7 @@ namespace config
 void DefaultConfig::load(const std::string &)
 {
     const char *db_path = NULL;
-    db_path = tzplatform_getenv(TZ_USER_DB);
+    db_path = tzplatform_getenv(TZ_USER_APP);
 
     m_data["main_service_name"] = std::string("org.tizen.browser.base_UI");
     //m_data["favorite_service_name"] = std::string("org.tizen.browser.service.favorite.browserProvider");