aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/protobuf/3.2.0/php/tests/autoload.php
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/protobuf/3.2.0/php/tests/autoload.php')
-rwxr-xr-xthird_party/protobuf/3.2.0/php/tests/autoload.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/third_party/protobuf/3.2.0/php/tests/autoload.php b/third_party/protobuf/3.2.0/php/tests/autoload.php
deleted file mode 100755
index 0a917fc51a..0000000000
--- a/third_party/protobuf/3.2.0/php/tests/autoload.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-function getGeneratedFiles($dir, &$results = array())
-{
- $files = scandir($dir);
-
- foreach ($files as $key => $value) {
- $path = realpath($dir.DIRECTORY_SEPARATOR.$value);
- if (!is_dir($path)) {
- $results[] = $path;
- } else if ($value != "." && $value != "..") {
- getGeneratedFiles($path, $results);
- }
- }
- return $results;
-}
-
-foreach (getGeneratedFiles("generated") as $filename)
-{
- if (!is_dir($filename)) {
- include_once $filename;
- }
-
-}
-