summary refs log tree commit diff stats
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/directory.rb1
-rw-r--r--code/types.rb2
2 files changed, 2 insertions, 1 deletions
diff --git a/code/directory.rb b/code/directory.rb
index c42392aa..a5bee819 100644
--- a/code/directory.rb
+++ b/code/directory.rb
@@ -1,3 +1,4 @@
+require 'code/extensions/basic.rb'
 class Directory
 	BAD_TIME = Time.at(0)
 	MOVIE_EXTENSIONS = %w(avi mpg mpeg mp4 mp5 ogv ogm wmv mkv flv fid vob div divx)
diff --git a/code/types.rb b/code/types.rb
index adb03219..6d3999c7 100644
--- a/code/types.rb
+++ b/code/types.rb
@@ -1,6 +1,6 @@
 module Fm
 	MIMETYPES = Marshal.load(File.read(
-		File.join(FM_DIR, 'data', 'mime.dat')))
+		File.join(MYDIR, 'data', 'mime.dat')))
 
 	def self.get_default_flags(file)
 		case file.mimetype