Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once customization_module_file_path();
- /**
- * @return string test.module file path
- */
- function customization_module_file_path() {
- // The directory of the file
- $customizationsmodulepath = __DIR__;
- /**
- * Given a string containing the path of a file or directory, this function
- * will return the parent directory's path that is levels up from the
- * current directory.
- */
- $customizationsmodulepath = dirname($customizationsmodulepath, 3);
- $customizationsmodulefilepath = $customizationsmodulepath . "/test.module";
- return $customizationsmodulefilepath;
- }
Add Comment
Please, Sign In to add comment