Cpanel has things setup correctly and your problem is with the script itself. You will have to see what 'path' is being used and adjust it accordingly. Perhaps look at your Gallery script for reference as it seems to be working correctly.
• PotentProducts.com - for all your Hosting needs
• Helping people Host, Create and Maintain their Web Site
• ServerAdmin Services also available