diff --git a/deletePictures.php b/deletePictures.php index 2c135fe..e3680de 100644 --- a/deletePictures.php +++ b/deletePictures.php @@ -1,5 +1,10 @@ getRequestParameter('action'); -$sParameter = oxRegistry::getConfig()->getRequestParameter('parameter'); +$oRegistry = oxNew(Registry::getConfig()); + + + +$sAction = $oRegistry->getRequestParameter('action'); +$sParameter = $oRegistry->getRequestParameter('parameter'); if(trim($sAction) != '') { $oDeletePictures->{$sAction}($sParameter);