Guest User

Untitled

a guest
May 24th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. <?php
  2. require_once customization_module_file_path();
  3.  
  4. /**
  5. * @return string test.module file path
  6. */
  7. function customization_module_file_path() {
  8. // The directory of the file
  9. $customizationsmodulepath = __DIR__;
  10. /**
  11. * Given a string containing the path of a file or directory, this function
  12. * will return the parent directory's path that is levels up from the
  13. * current directory.
  14. */
  15. $customizationsmodulepath = dirname($customizationsmodulepath, 3);
  16. $customizationsmodulefilepath = $customizationsmodulepath . "/test.module";
  17. return $customizationsmodulefilepath;
  18. }
Add Comment
Please, Sign In to add comment