Roxen.git / server / base_server / roxenloader.pike

version» Context lines:

Roxen.git/server/base_server/roxenloader.pike:2029:    dir = combine_path(dir, "packages");    foreach(sort(get_dir(roxen_path(dir)) || ({})), string fname) {    if (fname == "CVS") continue;    fname = combine_path(dir, fname);    if (Stdio.is_dir(roxen_path(fname))) {    add_package(fname);    }    }    }    +  string dir; +  while (stringp(dir = Getopt.find_option(av, ({}), ({ "package" ]), +  UNDEFINED, 1))) { +  add_package(dir); +  } +     roxen_is_cms = !!lfile_stat("modules/sitebuilder") ||    !!lfile_stat("packages/sitebuilder");       if(roxen_is_cms) {    if (lfile_stat("modules/print") || lfile_stat("packages/print")) {    roxen_product_name="Roxen EP";    roxen_product_code = "rep";    } else {    roxen_product_name="Roxen CMS";    roxen_product_code = "cms";