Roxen.git / server / base_server / roxenloader.pike

version» Context lines:

Roxen.git/server/base_server/roxenloader.pike:1573:    master()->add_include_path(sub_dir);    }       package_module_path += ({ combine_path(package_dir, "modules/") });    if (r_is_dir(sub_dir = combine_path(package_dir, "roxen-modules/"))) {    package_module_path += ({ sub_dir });    }    if (r_is_dir(sub_dir = combine_path(package_dir, "fonts/"))) {    default_roxen_font_path += ({ sub_dir });    } + #ifdef RUN_SELF_TEST +  if (r_is_dir(sub_dir = combine_path(package_dir, "test/modules/"))) { +  package_module_path += ({ sub_dir });    } -  + #endif + }         //! @appears lopen   object|void lopen(string filename, string mode, int|void perm)   {    if( filename[0] != '/' ) {    foreach(package_directories, string dir) {    Stdio.File o;    if (o = open(combine_path(roxen_path(dir), filename), mode, perm))    return o;