Every Aiki that support extensions - the code is: <?php
class Utils { function delete_file($filename) { // on new aiki trim can be removed $filename = trim($filename); if (preg_match('/^people.*\.svg$/', $filename) && !preg_match('/\.\./', $filename)) { unlink($filename); } } } ?> and using in widget <php $aiki->Utils->delete_file( ((full_path))((filename)) ); php> -- You received this bug notification because you are a member of Aiki Framework Developers, which is subscribed to aikiframework. https://bugs.launchpad.net/bugs/561828 Title: hidden clipart not hidden Status in Aiki Framework: Confirmed Status in openclipart: Fix Committed Status in Open Font Library: Confirmed Bug description: Hidden clipart is not hidden. See here to test. http://www.openclipart.org/detail/17342 http://www.openclipart.org/detail/16423 Click on them without logging into openclipart. Now log in and try it. To manage notifications about this bug go to: https://bugs.launchpad.net/aikiframework/+bug/561828/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp