示例#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();
 }