• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Base directory for CG installation

Hey guys.

I'm trying to create an upload controller that'll accept two files and some text inputs.
However if one upload fails, I need to delete the first upload. However I'm not sure how I can call the 'base' url of the CG installation to keep it modular.

In case I move main_site or rename it.

Thank you!

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.