diff -r d2af8a210f5d -r 8e4fe6f3337d thd/test/bootstrap/.svn/text-base/functional.php.svn-base --- a/thd/test/bootstrap/.svn/text-base/functional.php.svn-base Wed Jun 01 14:07:43 2016 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -// guess current application -if (!isset($app)) -{ - $traces = debug_backtrace(); - $caller = $traces[0]; - - $dirPieces = explode(DIRECTORY_SEPARATOR, dirname($caller['file'])); - $app = array_pop($dirPieces); -} - -require_once dirname(__FILE__).'/../../config/ProjectConfiguration.class.php'; -$configuration = ProjectConfiguration::getApplicationConfiguration($app, 'test', isset($debug) ? $debug : true); -sfContext::createInstance($configuration); - -// remove all cache -sfToolkit::clearDirectory(sfConfig::get('sf_app_cache_dir'));