Ok,
To get your store to the public_html folder, copy the files back in there like before but leave them in the old folders as well just in case.
in /includes/configure.php
Line 17 and 18
Code:
define('HTTP_SERVER', 'http://yoururl.com');
define('HTTPS_SERVER', 'https://yoururl.com');
Copy the admin folder to this address.
/public_html/admin/
But rename the folder to something else for security reasons, for now lets call it happy. so the admin folder is now the happy folder.
in /happy/includes/configure.php change the following.
Line 21-22
Code:
define('HTTP_SERVER', 'http://yoururl.com');
define('HTTPS_SERVER', 'https://yoururl.com');
define('HTTP_CATALOG_SERVER', 'http://yoururl.com');
define('HTTPS_CATALOG_SERVER', 'https://yoururl.com');
Line 41-44
Code:
define('DIR_WS_ADMIN', '/happy/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/happy/');
define('DIR_WS_HTTPS_CATALOG', '/');
Line 60-61
Code:
define('DIR_FS_ADMIN','/home/username/public_html/happy/');
define('DIR_FS_CATALOG','/home/username/public_html/');