[Xerte] missing include in preview.php

David Goodwin david at palepurple.co.uk
Tue Dec 9 09:06:09 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

preview.php needs to have :

     include $site->php_library_path  . "display_library.php

In it; else the 'dont_show_template()' call fails if the user doesn'#t
have permission...

thanks
David.
- --
 David Goodwin                          Pale Purple Limited
 Office: 0845 0046746                   Mobile: 07792380669
 http://www.palepurple.co.uk            Company No: 5580814
 'Business Web Application Development and Training in PHP'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJPjUB/ISo3RF5V6YRAg7mAKDLfWjIv5OOD2geq+4H+CCFwZ9JXgCg6H/A
iCx4xqeIY04VMipiwNqGM1Q=
=emSK
-----END PGP SIGNATURE-----


More information about the Xerte mailing list