Fixing cp syntax
updated to support SSL environments
Merge branch 'master' of github.com:Cysha/PhoenixCMS