Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2726 for code/trunk/src


Ignore:
Timestamp:
Mar 1, 2009, 8:47:42 PM (16 years ago)
Author:
rgrieder
Message:

Still fixing a bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/ConfigFileManager.cc

    r2725 r2726  
    228228        // Get default file if necessary and available
    229229        boost::filesystem::path filepath(Core::getConfigPath() / this->filename_);
     230        COUT(0) << "config filepath: " << filepath.string() << std::endl;
    230231        if (!boost::filesystem::exists(filepath))
    231232        {
    232233            // Try to get default one from the media folder
    233234            boost::filesystem::path defaultFilepath(Core::getMediaPath() / "defaultConfig" / this->filename_);
     235            COUT(0) << "default filepath: " << defaultFilepath.string() << std::endl;
    234236            if (boost::filesystem::exists(defaultFilepath))
    235237            {
    236238                COUT(3) << "Copied " << this->filename_ << " from the defaultConfig folder." << std::endl;
    237239                boost::filesystem::copy_file(defaultFilepath, filepath);
    238                 std::string testfilename = std::string("__") + this->filename_;
    239                 boost::filesystem::copy_file(defaultFilepath, filepath.branch_path() / testfilename);
    240240            }
    241241        }
Note: See TracChangeset for help on using the changeset viewer.