overall code quality audit.

This commit is contained in:
Taylor Otwell
2012-01-25 15:31:04 -06:00
parent 45969e3593
commit af170af12d
11 changed files with 11 additions and 92 deletions

View File

@@ -181,7 +181,7 @@ class File {
* @param string $destination
* @return void
*/
public static function copy_dir($source, $destination)
public static function cpdir($source, $destination)
{
if ( ! is_dir($source)) return;
@@ -207,7 +207,7 @@ class File {
{
$path = $item->getRealPath();
static::copy_dir($path, $location);
static::cpdir($path, $location);
}
// If the file system item is an actual file, we can copy the
// file from the bundle asset directory to the public asset