致命的 #740 » skin.rb.diff
core/skin.rb | ||
---|---|---|
25 | 25 |
end |
26 | 26 |
end |
27 | 27 | |
28 |
def self.path |
|
29 |
if user_dir |
|
30 |
user_dir |
|
31 |
else |
|
32 |
default_dir |
|
33 |
end |
|
34 |
end |
|
35 | ||
28 | 36 |
def self.get(filename, fallback_dirs = []) |
29 | 37 |
search_path = [ user_dir, fallback_dirs, default_dir ].flatten.compact |
30 | 38 |