Przeglądaj źródła

fixed namespace store -> shop

database
rodzic
commit
4607b4a5fc
2 zmienionych plików z 3 dodań i 3 usunięć
  1. 2
    2
      public/index.php
  2. 1
    1
      src/DB/myDB.php

+ 2
- 2
public/index.php Wyświetl plik

@@ -1,12 +1,12 @@
<?php

namespace Store;
namespace Shop;

use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request;
use Slim\Factory\AppFactory;
use DI\Container;
use Store\DB\myDB;
use Shop\DB\myDB;

require __DIR__ . '/../vendor/autoload.php';


+ 1
- 1
src/DB/myDB.php Wyświetl plik

@@ -1,6 +1,6 @@
<?php

namespace Store\DB;
namespace Shop\DB;

use SQLite3;


Ładowanie…
Anuluj
Zapisz