diff options
author | carl <> | 2008-10-13 10:54:59 +0000 |
---|---|---|
committer | carl <> | 2008-10-13 10:54:59 +0000 |
commit | 54d7e31492586e274c32afc3b922a5b7bd90c9ab (patch) | |
tree | ce813bf0c1f40d4f4b16d7bf2ce4cb9876313ee6 /framework/Web/UI | |
parent | 73daf45e030b66b045718d1878b28105f021d5ab (diff) |
#856 - Assets PRADO_CHMOD constant missing in several places
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/TClientScriptManager.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php index 83fdf789..2a4389c8 100644 --- a/framework/Web/UI/TClientScriptManager.php +++ b/framework/Web/UI/TClientScriptManager.php @@ -169,7 +169,10 @@ class TClientScriptManager extends TApplicationComponent $scriptLoaderPath = $path.'/'.basename(self::SCRIPT_LOADER); $scriptLoaderSrc = Prado::getFrameworkPath().DIRECTORY_SEPARATOR.self::SCRIPT_LOADER; if(!is_file($scriptLoaderPath)) + { copy($scriptLoaderSrc, $scriptLoaderPath); + chmod($scriptLoaderPath, PRADO_CHMOD); + } $url .= '/'.basename(self::SCRIPT_LOADER).'?js='.implode(',', $packages); if($debug!==false && $this->getApplication()->getMode()===TApplicationMode::Debug) { |