Hi

I'm doing a recipe which is an action and I have to check if the user is admin.

I did this so far:

$HandleActions['csscompress'] = 'HandleCssCompress';
$HandleAuth['csscompress'] = 'admin';

function HandleCssCompress($pagename,$auth='admin'){
  global $CssCompressOverWrite,$CssCompressFiles,
          $PageStartFmt,$PageEndFmt;
...
}

but inside the function I don't have to open any files.

Is there a way?

CarlosAB

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to