svn: /web/php-windows/trunk/docroot/ config.php index.php team.php

From: Date: Sat, 30 Apr 2011 13:55:20 +0000
Subject: svn: /web/php-windows/trunk/docroot/ config.php index.php team.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-10930@lists.php.net to get a copy of this message
pajoye Sat, 30 Apr 2011 13:55:20 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=310660 Log: - remove duplicate config from docroot Changed paths: D web/php-windows/trunk/docroot/config.php U web/php-windows/trunk/docroot/index.php U web/php-windows/trunk/docroot/team.php Deleted: web/php-windows/trunk/docroot/config.php =================================================================== --- web/php-windows/trunk/docroot/config.php 2011-04-30 13:13:52 UTC (rev 310659) +++ web/php-windows/trunk/docroot/config.php 2011-04-30 13:55:20 UTC (rev 310660) @@ -1,9 +0,0 @@ -<?php -define('APP_PATH', '/home/web/windows.php.net/'); -define('SNAPS_DIR', APP_PATH . 'docroot/downloads/snaps/'); -define('RELEASES_DIR', APP_PATH . 'docroot/downloads/releases/'); -define('QA_DIR', APP_PATH . 'docroot/downloads/qa/'); -define('DATA_DIR', APP_PATH . '/data/'); -define('LIB_DIR', APP_PATH . '/include/'); -define('TPL_PATH', APP_PATH . '/templates/'); - Modified: web/php-windows/trunk/docroot/index.php =================================================================== --- web/php-windows/trunk/docroot/index.php 2011-04-30 13:13:52 UTC (rev 310659) +++ web/php-windows/trunk/docroot/index.php 2011-04-30 13:55:20 UTC (rev 310660) @@ -1,5 +1,6 @@ <?php -include "config.php"; +include __DIR__ . '/../include/config.php'; + define('CUR_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR); //define('TPL_PATH', CUR_PATH . 'templates' . DIRECTORY_SEPARATOR); Modified: web/php-windows/trunk/docroot/team.php =================================================================== --- web/php-windows/trunk/docroot/team.php 2011-04-30 13:13:52 UTC (rev 310659) +++ web/php-windows/trunk/docroot/team.php 2011-04-30 13:55:20 UTC (rev 310660) @@ -1,7 +1,7 @@ <?php -include "config.php"; +include __DIR__ . '/../include/config.php'; + define('CUR_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR); -//define('TPL_PATH', CUR_PATH . 'templates' . DIRECTORY_SEPARATOR); include TPL_PATH . 'header.php'; include TPL_PATH . 'news_line.php';

« previous php.webmaster (#10930) next »