Updated .gitignore

This commit is contained in:
Netkas 2022-08-12 20:32:49 -04:00
parent 7f2e73c045
commit bcb9d6c1c2
2 changed files with 14 additions and 1 deletions

2
.gitignore vendored
View file

@ -12,4 +12,4 @@ src/ncc/ThirdParty/Symfony/Process/autoload_spl.php
src/ncc/ThirdParty/Symfony/Uid/autoload_spl.php
src/ncc/ThirdParty/Symfony/Filesystem/autoload_spl.php
src/ncc/autoload_spl.php
src/autoload/autoload.php src/ncc/autoload.php
src/ncc/autoload.php

13
src/installer/extension Normal file
View file

@ -0,0 +1,13 @@
<?php
if(defined('NCC_INIT') == false)
{
if(file_exists('%ncc_install' . DIRECTORY_SEPARATOR . 'autoload.php') == false)
{
throw new RuntimeException('Cannot locate file \'%ncc_install' . DIRECTORY_SEPARATOR . 'autoload.php\'');
}
else
{
require('%ncc_install' . DIRECTORY_SEPARATOR . 'autoload.php');
}
}