Sha256: 1187f97bcd24f781c38828b4fd71295388c287882d846e65b2e00ee236bfefb0
Contents?: true
Size: 1.18 KB
Versions: 5
Compression:
Stored size: 1.18 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_public_folder() File.join(__rhoGetCurrentDir(), 'apps/public') 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
5 entries across 5 versions & 1 rubygems