Bonjour " sorry for my french language "!
J'ai remarqué à travers les statistiques qu'il ya beaucoup de access a mon annuaire, sur cette page http://www.votresite.com/javascript/config
Peu etre dangerour? Merci de votre reponse!
Voir ici le code qui apparaît dans la fishier javascript/config
var setting = new Array(); setting.siteRootUrl = "http://votresite.com"; setting.siteDescriptionMaxLength = 700; setting.siteDescriptionMinLength = 100; setting.maxKeywordsCountPerSite = 5; setting.itemGalleryImagesMaxCount = 3; setting.metaDataUrl = "/webmaster/getMetaData"; setting.urlMandatory = 1; setting.backLinkMandatory = 0; setting.urlRewriting = 1; setting.lang = new Array(); setting.lang['You have already added this keyword. Select another one.'] = "You have already chosen this keyword. Select another one"; setting.lang['loading...'] = "loading..."; setting.lang['Please, fill in the fields URL of site, Title and Description.'] = "Please fill in the website Url, Title and Description fields"; setting.lang['The URL must start with http://'] = "The Url must start with http://"; setting.lang['Please, enter a valid e-mail address.'] = "Please enter a valid e-mail address"; setting.lang['You modify the webmaster of this site. Do you want the fields Webmaster Email and Webmaster Name to be refreshed, or you want to modify them manually?'] = "When changing the website webmaster, the e-mail will also change"; setting.lang['The comment was saved.'] = "The comment was saved"; setting.lang['The comment was deleted.'] = "The comment was deleted"; setting.lang['The IP was banned.'] = "The IP was banned"; setting.lang['Please, select a package.'] = "Please, select a package"; setting.lang['Please, select a payment processor.'] = "Please, select a payment processor"; setting.lang['Please, enter a name or nickname.'] = "Please enter your username"; setting.lang['Please, enter a comment.'] = "Please, enter a comment."; setting.lang['Please, enter the protection code.'] = "Please, enter the security code"; setting.lang['The tag was saved.'] = "The tag was saved"; setting.lang['You can`t select this payment method for selected package.'] = "You can`t select this payment method for selected package"; setting.lang["Delete"] = "Delete"; setting.lang["Edit"] = "Edit"; setting.lang["File"] = "File"; setting.lang["was uploaded sucessfully"] = "was uploaded sucessfully"; setting.lang["of"] = "of"; setting.lang["available photos uploaded"] = "available photos uploaded"; setting.lang["Loading"] = "Loading"; setting.lang["Loading..."] = "Loading..."; setting.lang["Your email must be in format - name@domain.com"] = "Your email must be in format - name@domain.com"; setting.lang["Email was used earlier"] = "Email was used earlier"; setting.lang["Please enter password"] = "Please enter password"; setting.lang["Please confirm your password"] = "Please confirm your password"; setting.lang["Please enter captcha code"] = "Please enter captcha code"; setting.lang["Passwords aren't equal"] = "Passwords are not equal"; setting.lang["This field is required"] = "This field is required"; setting.lang["Please enter your email"] = "Please enter your email"; setting.lang["Validation message"] = "Validation message"; setting.lang["Your message was saved"] = "Your message was saved"; setting.lang["Your message was sent"] = "Your message was sent"; setting.lang["New file has been uploaded sucessfully"] = "Image uploaded successfully"; setting.lang["Uploading..."] = "Uploading..."; setting.lang["You have entered an invalid code"] = "javascript_config_you_have_entered_an_invalid_code"; function _t($phrase) { return setting.lang[$phrase] || $phrase; } var AppRouter = { rewrites: new Array(), addRewriteRule: function(pattern, replacement) { AppRouter.rewrites.push({"pattern": new RegExp(pattern), replacement: replacement}); }, getRewrittedUrl: function(url) { var rewrittedUrl = setting.siteRootUrl; if(!setting.urlRewriting)rewrittedUrl += "/index.php"; for(var i = 0; i < AppRouter.rewrites.length; i++) { var rewrite = AppRouter.rewrites[i]; url = url.replace(rewrite.pattern, rewrite.replacement); } rewrittedUrl += url; return rewrittedUrl; } }
votreannuaire/javascript/config Bug? Danger?
2 messages
• Page 1 sur 1
Re: votreannuaire/javascript/config Bug? Danger?
Salut,
c'est le code normal pour ce fichier et il est appellé dans chaque page de l'annuaire.
c'est le code normal pour ce fichier et il est appellé dans chaque page de l'annuaire.
- Angra-Mainyu
- Messages: 455
- Inscription: Dim 14 Sep 2008 23:37
2 messages
• Page 1 sur 1
Retourner vers Installation, aide et report de bugs
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités