Jump to content

what is .DS_S in language option for admin login


durangod

Recommended Posts

I was working on my fake admin login page and i found this. See attached, and this is on the real login..

 

what is this? Could it be the beginning of this .DS_Store (Mac OS X Desktop Services Store file) and the rest is not showing.

 

whatisds.jpg

Edited by durangod
Link to comment
Share on other sites

I did find it in the source... Im just not sure why its showing up in the source like this...

 


<td align="left" valign="middle"><table width="100%" cellpadding="0" cellspacing="0"><tr><td><input type="submit" value="Login" class="button" /></td><td align="right">Language: <select name="language" class="login_inputs"><option value="">Default</option><option value=".DS_S">.DS_S</option><option value="czech">Czech</option><option value="english">English</option><option value="french">French</option><option value="portugues">Portugues</option><option value="russian">Russian</option><option value="spanish">Spanish</option></select></td></tr></table></td>



 

I am running the latest version as well 5.2.14 i am curious why its not showing on yours as well brian..

Link to comment
Share on other sites

I know there is a file in admin called .DS_STORE but i guess im not understanding what the purpose of having this in the lang options is.

 

I checked out the WHMCS demo and found a different value there.. see image but still not sure what the dif value is designed for in the lang option

 

democapture.jpg

Link to comment
Share on other sites

I can see the one you mention at the demo site.

 

the language dropdown just lists the files in the admin/lang folder - so if you create a file there called fred.php, and refresh the admin login page, you'll get a new language called "Fred"... although I don't speak it myself :lol:

 

- - - Updated - - -

 

I am running 5.2.14, and mine looks the same as the demo (have the "Adminlangupdate" option on the pulldown). I do not see the ".DS_S" option you are seeing.

that's weird - it's not in the .14 incremental patch, and i've just checked the full version and it's not in there either.

 

but I found this via google - https://docs.whmcs.com/showthread.php?76327-5-2-6-4-Build-Update

Link to comment
Share on other sites

I figured it out, in my admin/lang folder .DS_Store is the first file, and im guessing the array is built from the file contents in the lang folder so natually it would pick that up. See image...

 

Question is can i remove that .DS_Store file?

 

Do you have that file in your admin(whatever you named it)/lang folder ?

 

lang.jpg

 

- - - Updated - - -

 

UPDATE: Also, that file name .DS_Store exists in my whmcs root/ in my admin/ and in my admin/lang

 

i also found this. http://en.wikipedia.org/wiki/.DS_Store

 

so if you are not set to see hidden files in your cPanel you might not see it...

 

Note to WHMCS team member, can i remove this file?

 

Thanks

Edited by durangod
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated