Explorar el Código

:shower: path fix

smiley hace 1 año
padre
commit
125656e48c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      benchmark/generate-html.php

+ 1 - 1
benchmark/generate-html.php

@@ -131,7 +131,7 @@ if(!is_dir(BUILDDIR.'/html/')){
 	mkdir(BUILDDIR.'/html/');
 }
 
-copy('./benchmark.css', BUILDDIR.'/html/benchmark.css');
+copy(__DIR__.'/benchmark.css', BUILDDIR.'/html/benchmark.css');
 
 foreach($html as $file => $content){
 	file_put_contents(BUILDDIR.'/html/'.$file.'.html', implode("\n", $content));