lib/private/Template/SCSSCacher.php
/**
	 * Add the correct uri prefix to make uri valid again
	 * @param string $css
	 * @param string $webDir
	 * @return string
	 */
Add the correct uri prefix to make uri valid again
@param string $css
@param string $webDir
@return string
Add the correct uri prefix to make uri valid again @param string $css @param string $webDir @return string
private function rebaseUrls($css, $webDir) {
		$re = '/url\([\'"]([\.\w?=\/-]*)[\'"]\)/x';
		if(($this->config->getSystemValue('htaccess.IgnoreFrontController', false) === true || getenv('front_controller_active') === 'true')) {
			$subst = 'url(\'../../'.$webDir.'/$1\')';	
		} else {
			$subst = 'url(\'../../../'.$webDir.'/$1\')';
		}
		return preg_replace($re, $subst, $css);
	}
private function rebaseUrls ( $ css , $ webDir ) { $ re = '/url\([\'"]([\.\w?=\/-]*)[\'"]\)/x' ; if ( ( $ this -> config -> getSystemValue ( 'htaccess.IgnoreFrontController' , false ) === true || getenv ( 'front_controller_active' ) === 'true' ) ) { $ subst = 'url(\'../../' . $ webDir . '/$1\')' ; } else { $ subst = 'url(\'../../../' . $ webDir . '/$1\')' ; } return preg_replace ( $ re , $ subst , $ css ) ; }
Add the correct uri prefix to make uri valid again
 @param string $css
 @param string $webDir
 @return string
Add the correct uri prefix to make uri valid again @param string $css @param string $webDir @return string
// OC\Route\Router:75