Updated .gitignore
This commit is contained in:
parent
7f2e73c045
commit
bcb9d6c1c2
2 changed files with 14 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -12,4 +12,4 @@ src/ncc/ThirdParty/Symfony/Process/autoload_spl.php
|
||||||
src/ncc/ThirdParty/Symfony/Uid/autoload_spl.php
|
src/ncc/ThirdParty/Symfony/Uid/autoload_spl.php
|
||||||
src/ncc/ThirdParty/Symfony/Filesystem/autoload_spl.php
|
src/ncc/ThirdParty/Symfony/Filesystem/autoload_spl.php
|
||||||
src/ncc/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
13
src/installer/extension
Normal 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');
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue