diff options
author | Lukasz <lukaszunity@users.noreply.github.com> | 2016-01-20 10:33:51 +0300 |
---|---|---|
committer | Lukasz <lukaszunity@users.noreply.github.com> | 2016-01-28 10:41:07 +0300 |
commit | 3ba2d6aa83fa5afc812dc32b969d78b87aa61851 (patch) | |
tree | 6d4de31208ac7c0f8f8574874b5c9545e7a32ca7 /Mono.Addins/Mono.Addins.Database | |
parent | f4671e42211b48471c57d2f069104ba88ea34a5c (diff) |
[addins-database] Renamed "exe" variables to "assembly", as we get the assembly path from GetExecutingAssembly ().Location.
Diffstat (limited to 'Mono.Addins/Mono.Addins.Database')
-rw-r--r-- | Mono.Addins/Mono.Addins.Database/DatabaseConfiguration.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mono.Addins/Mono.Addins.Database/DatabaseConfiguration.cs b/Mono.Addins/Mono.Addins.Database/DatabaseConfiguration.cs index e386802..3144b40 100644 --- a/Mono.Addins/Mono.Addins.Database/DatabaseConfiguration.cs +++ b/Mono.Addins/Mono.Addins.Database/DatabaseConfiguration.cs @@ -133,9 +133,9 @@ namespace Mono.Addins.Database public static DatabaseConfiguration ReadAppConfig() { - var exePath = System.Reflection.Assembly.GetExecutingAssembly ().Location; - var exeDirectory = Path.GetDirectoryName (exePath); - var appAddinsConfigFilePath = Path.Combine (exeDirectory, "addins-config.xml"); + var assemblyPath = System.Reflection.Assembly.GetExecutingAssembly ().Location; + var assemblyDirectory = Path.GetDirectoryName (assemblyPath); + var appAddinsConfigFilePath = Path.Combine (assemblyDirectory, "addins-config.xml"); if (!File.Exists (appAddinsConfigFilePath)) return new DatabaseConfiguration (); |