Skip to content

Commit 03c14b8

Browse files
committed
commit
1 parent ca31127 commit 03c14b8

37 files changed

+59
-47
lines changed

app/App.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ class App extends ContainerAwareObject
7070
public const BASE_CONTROLLERS_NAMESPACE = 'App\Base\Controllers';
7171
public const BASE_CRON_TASKS_NAMESPACE = 'App\Base\Cron\Tasks';
7272
public const BASE_ROUTERS_NAMESPACE = 'App\Base\Routers';
73+
public const BASE_BLOCKS_NAMESPACE = 'App\Base\Blocks';
74+
public const BASE_CRUD_NAMESPACE = 'App\Base\Crud';
7375
public const ROUTERS_NAMESPACE = 'App\Site\Routers';
7476
public const CONTROLLERS_NAMESPACE = 'App\Site\Controllers';
7577
public const CRUD_NAMESPACE = 'App\Site\Crud';

app/site/blocks/AuthorInfo.php renamed to app/base/blocks/AuthorInfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @link https://github.com/degami/sitebase
1212
*/
1313

14-
namespace App\Site\Blocks;
14+
namespace App\Base\Blocks;
1515

1616
use App\Base\Abstracts\Blocks\BaseCodeBlock;
1717
use App\Base\Abstracts\Controllers\AdminPage;

app/site/blocks/ChangeLanguage.php renamed to app/base/blocks/ChangeLanguage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @link https://github.com/degami/sitebase
1212
*/
1313

14-
namespace App\Site\Blocks;
14+
namespace App\Base\Blocks;
1515

1616
use App\Base\Abstracts\Blocks\BaseCodeBlock;
1717
use App\Base\Abstracts\Controllers\BasePage;

app/site/blocks/CookieNotice.php renamed to app/base/blocks/CookieNotice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @link https://github.com/degami/sitebase
1212
*/
1313

14-
namespace App\Site\Blocks;
14+
namespace App\Base\Blocks;
1515

1616
use App\Base\Abstracts\Blocks\BaseCodeBlock;
1717
use App\Base\Abstracts\Controllers\BasePage;

app/site/blocks/GTM.php renamed to app/base/blocks/GTM.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @link https://github.com/degami/sitebase
1212
*/
1313

14-
namespace App\Site\Blocks;
14+
namespace App\Base\Blocks;
1515

1616
use App\Base\Abstracts\Blocks\BaseCodeBlock;
1717
use App\Base\Abstracts\Controllers\BasePage;

app/site/blocks/LinkToUserArea.php renamed to app/base/blocks/LinkToUserArea.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @link https://github.com/degami/sitebase
1212
*/
1313

14-
namespace App\Site\Blocks;
14+
namespace App\Base\Blocks;
1515

1616
use App\Base\Abstracts\Blocks\BaseCodeBlock;
1717
use App\Base\Abstracts\Controllers\BasePage;

app/site/blocks/Search.php renamed to app/base/blocks/Search.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
* @link https://github.com/degami/sitebase
1212
*/
1313

14-
namespace App\Site\Blocks;
14+
namespace App\Base\Blocks;
1515

1616
use App\Base\Abstracts\Blocks\BaseCodeBlock;
1717
use App\Base\Abstracts\Controllers\BasePage;
18-
use App\Site\Controllers\Frontend\Search as SearchController;
18+
use App\Base\Controllers\Frontend\Search as SearchController;
1919
use Degami\Basics\Exceptions\BasicException;
2020
use Degami\Basics\Html\TagElement;
2121
use Exception;

app/site/blocks/YearCopy.php renamed to app/base/blocks/YearCopy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @link https://github.com/degami/sitebase
1212
*/
1313

14-
namespace App\Site\Blocks;
14+
namespace App\Base\Blocks;
1515

1616
use App\Base\Abstracts\Blocks\BaseCodeBlock;
1717
use App\Base\Abstracts\Controllers\BasePage;

app/site/controllers/Admin/Blocks.php renamed to app/base/controllers/Admin/Blocks.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @link https://github.com/degami/sitebase
1212
*/
1313

14-
namespace App\Site\Controllers\Admin;
14+
namespace App\Base\Controllers\Admin;
1515

1616
use App\App;
1717
use App\Base\Exceptions\PermissionDeniedException;
@@ -30,7 +30,7 @@
3030
use App\Base\Abstracts\Controllers\AdminFormPage;
3131
use App\Base\Abstracts\Controllers\AdminManageModelsPage;
3232
use Degami\PHPFormsApi as FAPI;
33-
use App\Site\Models\Block;
33+
use App\Base\Models\Block;
3434

3535
/**
3636
* "Blocks" Admin Page

app/base/controllers/Admin/Dashboard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace App\Base\Controllers\Admin;
1515

16-
use App\Site\Models\Block;
16+
use App\Base\Models\Block;
1717
use App\Site\Models\Contact;
1818
use App\Site\Models\ContactSubmission;
1919
use App\Site\Models\LinkExchange;

0 commit comments

Comments
 (0)