Removed assign by reference in path() 

rtrim() returns a string and the variable $path was being set to said string by reference. This is throws: Runtime Notice - Only variables should be assigned by reference
Merge pull request #3111 from keegan-lillo/2.3/develop

Removed assign by reference in path() in system/cms/plugins/theme.php