Article ID: 5315, created on Jun 4, 2008, last review on Apr 18, 2012

  • Applies to:
  • Plesk Billing

Resolution

You can rename most of the directories in ModernBill to whatever you'd like them to be. Just follow the instructions below.

Note:If you have not yet installed ModernBill, you must go through the installer before aliasing the directories.

  1. Open the aliases.php file in the lib-pkg directory.
  2. The following directory structure will be listed by default:

    $_MB_ALIASES["app-modernbill-admin"] = "app-modernbill-admin";

    $_MB_ALIASES["app-modernbill-client"] = "app-modernbill-client";

    $_MB_ALIASES["app-modernbill-order"] = "app-modernbill-order";

  3. You MUST leave the original directory name "as is" in the left column:

    $_MB_ALIASES["app-modernbill-admin"] = "app-modernbill-admin";

    $_MB_ALIASES["app-modernbill-client"] = "app-modernbill-client";

    $_MB_ALIASES["app-modernbill-order"] = "app-modernbill-order";

  4. Change the default names to what you would like them to be, as in our example here:

    $_MB_ALIASES["app-modernbill-admin"] = "admin";

    $_MB_ALIASES["app-modernbill-client"] = "client";

    $_MB_ALIASES["app-modernbill-order"] = "order";

  5. Next, rename the actual directories to what you've changed them to above.

You can alias any of the lib- or app- directories using the method above. You would simply need to create a new entry, and then follow the steps outlined above. For example:

  • $_MB_ALIASES["app-modernbill-admin"] = "app-modernbill-admin";

    $_MB_ALIASES["app-modernbill-client"] = "app-modernbill-client";

    $_MB_ALIASES["app-modernbill-order"] = "app-modernbill-order";

    $_MB_ALIASES["app-helpdesk"] = "helpdesk";

    $_MB_ALIASES["lib-action"] = "actions";

Note: If you change the default directory names, upgrading ModernBill will require you to make these changes each time. This will ensure that your renamed directories contain the most current updates after an upgrade.

08b3edb77202fffdd656b40acff117c1 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF