herot Posted August 11, 2006 Share Posted August 11, 2006 im trying to install for admin... i can follow the directions to step 5, but im not sure where to put the code in step 5. Does it matter where in general.php i put the code???: 5 - copy the following function from admin/include/functions/languages.php inside admin/include/functions/general.php function tep_get_languages_directory($code) { global $languages_id; $language_query = tep_db_query("select languages_id, directory from " . TABLE_LANGUAGES . " where code = '" . tep_db_input($code) . "'"); if (tep_db_num_rows($language_query)) { $language = tep_db_fetch_array($language_query); $languages_id = $language['languages_id']; return $language['directory']; } else { return false; } } N.B.: You can remove the admin/include/functions/languages.php as it shouldn't be used anymore Quote Did you get rid of the voices in your head? Do you now miss them and the things that they said? -David Gilmour Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.