Today I found something that annoying me when I tried to test the security hole by displaying the theme directory for one of my website that using Atahualpa theme version 3.5.1. Some error messages appeared when I tried to access such address: h++p://www.mydomain.com/wp-content/themes/atahualpa351/ . This error message caused by the using of unknown TEMPLATEPATH constant if this file accessed directly without from the index of the website itself. So, here is the modification I created to display “Access denied” message instead of error message that displaying the path of the theme directory in my web server. Read more…
I was interested with one of the topic in osTicket Discussion Forum about how to display the image attachment which its extention such as: jpg, gif, png, and bmp directly on the browser, then I made another modification which will automatically detect the URL and the directory name where the attachments file located. This code will work, with assuming: the sub directory for your attachment files located one level under the main directory of your osTicket. For example: your osTicket installed in “support” directory, whereas the attachment file located one level under the “support” directory, with named: “attachment”. This modification will also automatically resize the image width if it is greater than the maximum of osTicket width area on viewticket page. We assume that the maximum ticket width is 820 pixels (based on its css file). Read more…
There are lots of topics contain of question in osTicket System Forums that asking about how to setup attachment directory in osTicket System. Since there are two part of osTicket’s user will use this attachment feature; one from the client-side, and the other from the staff-side, then you have to observe the exact (not relative) directory for the directory name that you can set it up from Admin Panel. So here is the step by step you can do to set it up. Read more…
Recent Comments