32,7 → 32,7 |
// | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | |
// | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: instal_fichier.inc.php,v 1.23 2006-12-01 11:46:11 alexandre_tb Exp $ |
// CVS : $Id: instal_fichier.inc.php,v 1.24 2006-12-01 11:47:10 alexandre_tb Exp $ |
/** |
* Page de création des fichiers nécessaire à l'installation de Papyrus. |
* |
46,7 → 46,7 |
*@author Patrick PAUL |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.23 $ $Date: 2006-12-01 11:46:11 $ |
*@version $Revision: 1.24 $ $Date: 2006-12-01 11:47:10 $ |
// +------------------------------------------------------------------------------------------------------+ |
**/ |
|
162,8 → 162,8 |
'@'.$fichier['PAP_FTP_SERVEUR'].$fichier['PAP_FTP_RACINE'].'/.htaccess'; |
|
$url_parse = parse_url('http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); |
$prefixe = dirname($url_parse['path']);var_dump ($url_parse); |
var_dump ($prefixe); |
$prefixe = dirname($url_parse['path']); |
|
$url = 'http://'.$_SERVER['HTTP_HOST'].$prefixe; |
$contenu_htaccess = '# Raccourci pour les menus et sites de Papyrus'."\n". |
'RewriteEngine on'."\n". |
341,6 → 341,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.23 2006/12/01 11:46:11 alexandre_tb |
* correction creation .htaccess |
* |
* Revision 1.22 2006/11/30 17:41:30 alexandre_tb |
* ecriture htaccess |
* |