Sha256: 3d5a0c03b408a9a0363a2b980b570167fff07ea13274a7c135ccea14f8b1ed6d
Contents?: true
Size: 1.09 KB
Versions: 31
Compression:
Stored size: 1.09 KB
Contents
module Rho class RhoFSConnector class << self def get_app_path(appname) File.join(__rhoGetCurrentDir(), 'apps/'+appname+'/') end def get_base_app_path File.join(__rhoGetCurrentDir(), 'apps/') end def get_app_manifest_filename File.join(__rhoGetCurrentDir(), 'apps/app_manifest.txt') end def get_rhoconfig_filename File.join(__rhoGetCurrentDir(), 'apps/rhoconfig.txt') end def get_model_path(appname, modelname) File.join(__rhoGetCurrentDir(), 'apps/'+appname+'/'+modelname+'/') end def get_db_fullpathname(postfix) File.join(__rhoGetCurrentDir(), 'db/syncdb' + postfix + '.sqlite') end def get_blob_folder() File.join(__rhoGetCurrentDir(), 'db/db-files') end def get_blob_path(relative_path) cur_dir = __rhoGetCurrentDir() if cur_dir && cur_dir.length()>0 File.join(cur_dir, relative_path) else relative_path end end end end # RhoApplication end # Rho
Version data entries
31 entries across 31 versions & 1 rubygems