Skip to content

Commit

Permalink
rename files without extentions (doesn't allowed on few servers)
Browse files Browse the repository at this point in the history
git-svn-id: https://phpfreechat.svn.sourceforge.net/svnroot/phpfreechat/trunk@988 2772adf2-ac07-0410-9d30-e29d8120292e
  • Loading branch information
kerphi committed Mar 8, 2007
1 parent 2dc72ed commit fc304e5
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/pfcglobalconfig.class.php
Expand Up @@ -462,7 +462,7 @@ function init()
$this->loadSmileyTheme();

// load version number from file
$this->version = trim(file_get_contents(dirname(__FILE__)."/../version"));
$this->version = trim(file_get_contents(dirname(__FILE__)."/../version.txt"));

$this->is_init = (count($this->errors) == 0);
}
Expand All @@ -479,7 +479,7 @@ function &getErrors()

function loadSmileyTheme()
{
$theme = file($this->getFilePathFromTheme("smileys/theme"));
$theme = file($this->getFilePathFromTheme("smileys/theme.txt"));
$result = array();
foreach($theme as $line)
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fc304e5

Please sign in to comment.