[Xerte] toolkits installation feedback (+data.xml missing innew
USER-FILES subdirs)
David Goodwin
david at palepurple.co.uk
Tue Sep 15 15:24:28 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
<snip>
Problem was due to there being .svn directories in the code base which
confused PHP when creating the data.xml and media directories within
USER-FILES.
Fix is below (svn diff) in case it helps others...
Thanks for your help Patrick!
David.
Index: modules/xerte/new_template.php
===================================================================
- --- modules/xerte/new_template.php (revision 68)
+++ modules/xerte/new_template.php (working copy)
@@ -35,7 +35,7 @@
if(is_dir($full)){
- - if(($f==".")||($f=="..")){
+ if(($f==".")||($f=="..")||($f==".svn")){
}else{
@@ -173,4 +173,4 @@
}
- -?>
\ No newline at end of file
+?>
- --
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.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkqvo5wACgkQ/ISo3RF5V6b9fQCdGZObPngUolqfc7uTYt9XR4l7
X5oAnjRDvN+wYuo6J/dlV5U5WoSWgNWm
=7Rhd
-----END PGP SIGNATURE-----
More information about the Xerte
mailing list