fix an issue where P_ROOT and BACKEND have same path name.
Merge pull request #20 from htkm/iss/app_path-partition

fix an issue where P_ROOT and BACKEND have same path name.