-
How to disable direct access to joomla’s xml and ini files
To disable the direct access to xml and ini files, just add the following codes to your server root htaccess file: <FilesMatch “.(ini|xml)$”> order allow,deny deny from all </FilesMatch>
-
How to solve tinymce virus scanner issue: PUA.HTML.Infected.WebPage-1
Some virus programs detect js/tiny_mce/plugins/paste/js/pasteword.js as Infected file, to solve this issue, open the file and replace this line (8 th line) el.innerHTML = ‘<iframe id=”iframe” src=”javascript:\’\’;” frameBorder=”0″ style=”border: 1px solid gray”></iframe>’; With the following one: el.innerHTML = ‘<‘ + ‘iframe id=”iframe” src=”javascript:\’\’;” frameBorder=”0″ style=”border: 1px solid gray”></iframe>’;
-
How to show category name in woocommerce products page
<?php global $post; $terms = get_the_terms( $post->ID, ‘product_cat’ ); foreach ($terms as $term) { //$product_cat_id = $term->term_id; break; } ?> <h2 class=”page_title”><?php echo $term->name; ?></h2>
-
CodeIgniter 2.1.4 Released
CodeIgniter 2.1.4 has released today, bringing some additional security and enhancements to the 2.x stable version. A full list of the changes can be found in the change log, and you can download version 2.1.4 here, and of course, here are upgrade instructions to help you migrate from an older version to the new release.
-
Upgrading from 2.0.3 to 2.1.0
Before performing an update you should take your site offline by replacing the index.php file with a static one. Step 1: Update your CodeIgniter files Replace all files and directories in your “system” folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in…
-
CodeIgniter 2.0.2: Cross-Site Scripting (XSS)
Regular expressions simply do not understand HTML’s nested nature and the numerous possible HTML/CSS standards it must abide by. The result is that far too many developers try to program this understanding (and unfortunately their lack of comprehensive understanding) into home grown sanitisers using as little code and tests as possible. It’s a horrendous and…