Skip to content

Commit 2d9cf71

Browse files
author
EmilienCo
committed
Move everything to /src
1 parent b33fd8e commit 2d9cf71

25 files changed

+7
-30
lines changed

bootstrap.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22

3-
require __DIR__.'/validator.php';
4-
require __DIR__.'/inc/abstract.php';
5-
require __DIR__.'/inc/field.php';
6-
require __DIR__.'/inc/fielderror.php';
7-
require __DIR__.'/inc/i18n.php';
3+
require __DIR__.'/src/validator.php';
4+
require __DIR__.'/src/abstract.php';
5+
require __DIR__.'/src/field.php';
6+
require __DIR__.'/src/fielderror.php';
7+
require __DIR__.'/src/i18n.php';
88

99
spl_autoload_register(function($function)
1010
{
1111
if(substr($function, 0, 11) === 'Validation\\')
1212
{
1313
$name = substr($function, 11);
1414

15-
require __DIR__.'/validation/'.$name.'.php';
15+
require __DIR__.'/src/validation/'.$name.'.php';
1616
}
1717
});

labels.sql

-23
This file was deleted.

sample.php sample/sample.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require_once __DIR__.'/bootstrap.php';
3+
require_once __DIR__.'/../bootstrap.php';
44

55
// Set up the environment
66
//--------------------------------------------------------->

inc/abstract.php src/abstract.php

File renamed without changes.

inc/field.php src/field.php

File renamed without changes.
File renamed without changes.

inc/i18n.php src/i18n.php

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

validator.php src/validator.php

File renamed without changes.

0 commit comments

Comments
 (0)