Skip to content

Commit

Permalink
CI: Installer: Prevent 404 errors on IIS for COPYING file in iframe (#2
Browse files Browse the repository at this point in the history
…).

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11267 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Tim Klingenberg committed Oct 26, 2011
1 parent 547a360 commit 69dbf3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/installer.php
Expand Up @@ -800,7 +800,7 @@ function optional()
*/
public function license()
{
$filename = base_url(). 'COPYING';
$filename = dirname(BASEPATH) . '/COPYING';
header('Content-Type: text/plain;');
readfile($filename);
exit;
Expand Down

0 comments on commit 69dbf3e

Please sign in to comment.