예제 #1
0
파일: 031Test.php 프로젝트: poef/ariadne
 public function setUp()
 {
     ILess_Math::restore();
     // reset
     ILess_UnitConversion::restore();
     $this->oldLocale = setlocale(LC_ALL, 0);
     // codes for windows: http://msdn.microsoft.com/en-us/library/39cwe7zf%28v=vs.90%29.aspx
     $this->locale = setlocale(LC_ALL, 'sve', 'sv_SE.utf8');
 }
예제 #2
0
파일: Core.php 프로젝트: poef/ariadne
 /**
  * Restores the math precision
  *
  * @return void
  */
 private function restoreMathAndLocale()
 {
     ILess_Math::restore();
     ILess_UnitConversion::restore();
 }