Updated resource paths.

This commit is contained in:
WrinklyNinja
2013-05-13 11:35:23 +01:00
parent 265c6e1edc
commit 5f7ba7332d
2 changed files with 7 additions and 13 deletions
+5 -5
View File
@@ -114,20 +114,20 @@ namespace boss {
node = head.append_child();
node.set_name("link");
node.append_attribute("rel").set_value("stylesheet");
node.append_attribute("href").set_value("../resource/style.css");
node.append_attribute("href").set_value("../resources/style.css");
node = head.append_child();
node.set_name("script");
node.append_attribute("src").set_value("../resource/polyfill.js");
node.append_attribute("src").set_value("../resources/polyfill.js");
node.text().set(" ");
node = head.append_child();
node.set_name("script");
node.append_attribute("src").set_value("../resource/storage.js");
node.append_attribute("src").set_value("../resources/storage.js");
node.text().set(" ");
node = head.append_child(pugi::node_comment);
node.set_value("[if IE 8]><script src='../resource/DOM-shim-ie8.js'></script><![endif]");
node.set_value("[if IE 8]><script src='../resources/DOM-shim-ie8.js'></script><![endif]");
}
void AppendNav(pugi::xml_node& body) {
@@ -471,7 +471,7 @@ namespace boss {
node = body.append_child();
node.set_name("script");
node.append_attribute("src").set_value("../resource/script.js");
node.append_attribute("src").set_value("../resources/script.js");
node.text().set(" ");
}
+2 -8
View File
@@ -41,16 +41,10 @@ namespace boss {
const unsigned int VERSION_PATCH = 0;
//Common paths.
const boost::filesystem::path settings_path = "settings.yaml";
const boost::filesystem::path settings_path = "resources/settings.yaml";
const boost::filesystem::path log_path = "BOSSDebugLog.txt";
const boost::filesystem::path readme_path = boost::filesystem::path("Docs") / "BOSS Readme.html";
const boost::filesystem::path syntax_doc_path = boost::filesystem::path("Docs") / "BOSS Metadata File Syntax.html";
const boost::filesystem::path api_doc_path = boost::filesystem::path("Docs") / "BOSS API Readme.html";
const boost::filesystem::path version_history_path = boost::filesystem::path("Docs") / "BOSS Version History.html";
const boost::filesystem::path licenses_path = boost::filesystem::path("Docs") / "Licenses.txt";
// Temporary hack?
const char * const libespm_options_path = "libespm.yaml";
const char * const libespm_options_path = "resources/libespm.yaml";
}
#endif