Extends \CAssetManager

LimeSurvey Copyright (C) 2007-2011 The LimeSurvey Project Team / Carsten Schmitz All rights reserved.

License: GNU/GPL License v2 or later, see LICENSE.php LimeSurvey is free software. This version may have been modified pursuant to the GNU General Public License, and as distributed it includes or is derivative of works licensed under the GNU General Public License or other free or open source software licenses. See COPYRIGHT.php for copyright notices and details.




Generates path segments relative to basePath.

generatePath(string $file, boolean $hashByName = false) : string

This method is used instead of the original, so the hash is taken from LS version number instead of folder/file last modified time. Using file/folder causes a lot of problems due to FTP and other file transfers not updating the time stamp, forcing LS to use touch() in a lot of places instead. touch() can now be removed - the assets will be updated every time a version number is changed.

since 1.1.13




for which public path will be created.



whether the published directory should be named as the hashed basename.



path segments without basePath.