Admin.php to /admin/admin.php

How can I move admin.php to /admin/admin.php instead of leaving in a open directory of my cs-cart, please advise.

You move the dir and than go to config.local.php and around line 70 change

$config[‘admin_index’] = ‘admin.php’;

to match the location

that should work

I did that and I receive an error

Warning: require(./prepare.php) [function.require]: failed to open stream: No such file or directory

Fatal error: require() [function.require]: Failed opening required ‘./prepare.php’ (include_path=‘.:/usr/local/lib/php’)