From ddd78a8491ba5112af24464b8bf2612f2762cdbb Mon Sep 17 00:00:00 2001 From: Ruslan Baidan Date: Fri, 18 Oct 2019 10:49:37 +0200 Subject: [PATCH] Adde .gitkeep files for the required directories. --- .gitignore | 11 ++---- data/DoctrineORMModule/Proxy/.gitkeep | 0 data/LazyServices/Proxy/.gitkeep | 0 data/cache/.gitkeep | 0 data/json/.gitkeep | 0 init_autoloader.php | 54 --------------------------- 6 files changed, 3 insertions(+), 62 deletions(-) create mode 100644 data/DoctrineORMModule/Proxy/.gitkeep create mode 100644 data/LazyServices/Proxy/.gitkeep create mode 100644 data/cache/.gitkeep create mode 100644 data/json/.gitkeep delete mode 100644 init_autoloader.php diff --git a/.gitignore b/.gitignore index 8188858..2f340ff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,10 @@ nbproject ._* -.~lock.* .buildpath .DS_Store .idea .project .settings -vendor/bin -composer.lock migrations *.sublime-* vendor/ @@ -18,12 +15,10 @@ public/views/ public/flags/ module/ node_modules/ -config/application.config.php bin/ -data/monarc/ -data/DoctrineORMModule/ -data/json/ -go-pear.phar +!data/cache/.gitkeep +!data/DoctrineORMModule/Proxy/.gitkeep +!data/LazyServices/Proxy/.gitkeep scripts/public/ vagrant/.vagrant/ vagrant/*.log diff --git a/data/DoctrineORMModule/Proxy/.gitkeep b/data/DoctrineORMModule/Proxy/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/LazyServices/Proxy/.gitkeep b/data/LazyServices/Proxy/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/cache/.gitkeep b/data/cache/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/json/.gitkeep b/data/json/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/init_autoloader.php b/init_autoloader.php deleted file mode 100644 index befbd08..0000000 --- a/init_autoloader.php +++ /dev/null @@ -1,54 +0,0 @@ -add('Zend', $zf2Path); - $loader->add('ZendXml', $zf2Path); - } else { - include $zf2Path . '/Zend/Loader/AutoloaderFactory.php'; - Zend\Loader\AutoloaderFactory::factory(array( - 'Zend\Loader\StandardAutoloader' => array( - 'autoregister_zf' => true - ) - )); - } -} - -if (!class_exists('Zend\Loader\AutoloaderFactory')) { - throw new RuntimeException('Unable to load ZF2. Run `php composer.phar install` or define a ZF2_PATH environment variable.'); -}