NYCPHP Meetup

NYPHP.org

[mambo] New template missing index.html

DeWitt, Michael mjdewitt at alexcommgrp.com
Tue Mar 1 12:30:29 EST 2005


I seem to have misinterpreted the lines from mambo.html.php:

                if ( !file_exists( $_CONFIG->SITEPATH . '/' . $siteTemplate
.'/index.html' ) ) {
                        echo $_LANG->_('TEMPLATE_WARN') . $cur_template;
                        return;
                }

I read it as a requirement or the warning gets displayed.

Mike

> -----Original Message-----
> From:	Mitch Pirtle [SMTP:mitch.pirtle at gmail.com]
> Sent:	Tuesday, March 01, 2005 12:20 PM
> To:	NYPHP SIG: Mambo
> Subject:	Re: [mambo] New template missing index.html
> 
> Hang on there folks. Those stray index.html are only there to protect
> the contents of directories on servers that don't see index.php as a
> proper index file.
> 
> There is no hidden agenda behind the index.html, it is only there to
> provide a blank page when someone starts snooping around your mambo
> website.
> 
> -- Mitch
> _______________________________________________
> New to Mambo? Get a great start here:
> http://forum.mamboserver.com/showthread.php?t=26144
> 
> New York PHP SIG: Mambo Mailing List
> AMP Technology
> Supporting Apache, MySQL, PHP & Mambo!
> http://lists.nyphp.org/mailman/listinfo/mambo
> http://www.nyphp.org



More information about the Joomla mailing list