Instead of hard-coding
PHP Code:
<form name='form1' action='/index.php main_page=login&action=process' method='post'>
you should use the php constant DIR_WS_CATALOG which will automatically account for installation in a subdirectory.
Something like
PHP Code:
<form name='form1' action='<?php echo DIR_WS_CATALOG;?>index.php main_page=login&action=process' method='post'>
Not sure if it needs to be stated a little differently, but that is the constant to use.
Perhaps
PHP Code:
<?php echo '<form name="form1" action="' . DIR_WS_CATALOG . 'index.php main_page=login&action=process" method="post">';?>
Bookmarks