[Cs-content-commits] SF.net SVN: cs-content:[441] trunk/1.0/tests/testOfCSContent.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-08-18 18:41:47
|
Revision: 441 http://cs-content.svn.sourceforge.net/cs-content/?rev=441&view=rev Author: crazedsanity Date: 2009-08-18 18:41:36 +0000 (Tue, 18 Aug 2009) Log Message: ----------- Don't rely on a defined constant to determine location of files dir since it is static. Modified Paths: -------------- trunk/1.0/tests/testOfCSContent.php Modified: trunk/1.0/tests/testOfCSContent.php =================================================================== --- trunk/1.0/tests/testOfCSContent.php 2009-08-18 18:40:18 UTC (rev 440) +++ trunk/1.0/tests/testOfCSContent.php 2009-08-18 18:41:36 UTC (rev 441) @@ -102,7 +102,7 @@ //------------------------------------------------------------------------- function test_genericPage() { - $filesDir = constant('TEST_FILESDIR'); + $filesDir = dirname(__FILE__) .'/files'; $page = new cs_genericPage(false, $filesDir .'/templates/main.shared.tmpl', false); $fs = new cs_fileSystem($filesDir .'/templates'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |