Setting -[BnB]- clansite Installer Permissions
\n";
echo "Setting Persmissions - Please Wait ...
\n";
echo "
\n";
echo "Attempting to set permissions on folder /files to 777...";
if( @chmod( "files", 0777 ) )
echo "Success
\n";
else
echo "Failed. Please perform this step manually.
\n";
echo "Attempting to set permissions on folder /includes/ps_upload to 777...";
if( @chmod( "includes/ps_upload", 0777 ) )
echo "Success
\n";
else
echo "Failed. Please perform this step manually.
\n";
echo "Attempting to set permissions on file /includes/smtp.php to 666...";
if( @chmod( "includes/smtp.php", 0666 ) )
echo "Success
\n";
else
echo "Failed. Please perform this step manually.
\n";
echo "Attempting to set permissions on file /config.php to 644...";
if( @chmod( "config.php", 0644 ) )
echo "Success
\n";
else
echo "Failed. Please perform this step manually.
\n";
echo "Attempting to set permissions on folder /modules/Classifieds/imageads to 777...";
if( @chmod( "modules/Classifieds/imageads", 0777 ) )
echo "Success
\n";
else
echo "Failed. Please perform this step manually.
\n";
echo "Attempting to set permissions on folder /modules/Classifieds/imagecatg to 777...";
if( @chmod( "modules/Classifieds/imagecatg", 0777 ) )
echo "Success
\n";
else
echo "Failed. Please perform this step manually.
\n";
echo "Attempting to set permissions on folder /modules/Forums/cache to 777...";
if( @chmod( "modules/Forums/cache", 0777 ) )
echo "Success
\n";
else
echo "Failed. Please perform this step manually.
\n";
echo "Attempting to set permissions on folder /modules/Forums/images/avatars to 777...";
if( @chmod( "modules/Forums/images/avatars", 0777 ) )
echo "Success
\n";
else
echo "Failed. Please perform this step manually.
\n";
echo "Attempting to set permissions on file /modules/Forums/language/lang_english/lang_faq.php to 666...";
if( @chmod( "modules/Forums/language/lang_english/lang_faq.php", 0666 ) )
echo "Success
\n";
else
echo "Failed. Please perform this step manually.
\n";
echo "Attempting to set permissions on file /modules/Forums/language/lang_english/lang_rules.php to 666...";
if( @chmod( "modules/Forums/language/lang_english/lang_rules.php", 0666 ) )
echo "Success
\n";
else
echo "Failed. Please perform this step manually.
\n";
echo "Attempting to set permissions on folder /modules/Supporters/images/supporters to 777...";
if( @chmod( "modules/Supporters/images/supporters", 0777 ) )
echo "Success
\n";
else
echo "Failed. Please perform this step manually.
\n";
echo "Attempting to set permissions on folder /modules/Universal/images/uploaded to 777...";
if( @chmod( "modules/Universal/images/uploaded", 0777 ) )
echo "Success
\n";
else
echo "Failed. Please perform this step manually.
\n";
echo "
\n";
echo "
\n";
echo "Double check that all permissions were successfully set.
\n";
echo "
\n";
echo "*** IMPORTANT IMPORTANT IMPORTANT ***
\n";
echo "Once you have completed the remaining steps, Delete the \"SETPERMISSIONS.PHP\" file and the INSTALL directory.
\n";
echo "Close this Window to return to the Installer.
\n";
?>