In fisierul de configurare Pagekit puteti gasi informatii referitoare la baza de date utilizata si informatii privind configurarea aplicatiei.


Fisierul de configurare este config.php ; acesta este localizat in directorul radacina al websitului Pagekit (daca instalati direct pe domeniu acesta ar trebui sa fie /public_html)

Acest fisier are urmatoarea forma:

database' => [

  'default' => 'mysql',      // default database connection

  'connections' => [         // array of database connections

    'mysql' => [             // database driver name, mysql or sqlite

      'host' => 'localhost', // database server host name

      'user' => 'user',      // database server user name

      'password' => 'pass',  // database password

      'dbname' => 'pagekit', // database name

      'prefix' => 'pk_'      // database prefix

    ]

  ]

],

'system' => [

  'secret' => 'secret'       // the secret string generated during installation

],

'system/cache' => [

  'caches' => [

    'cache' => [

      'storage' => 'auto'    // the cache method to be used, if enabled

    ]

  ],

  'nocache' => false         // the cache state - you can disable it entirely by setting to 'true'

],

'system/finder' => [

  'storage' => '/storage'    // the relative path to the storage folder - e.g. media files will be stored here

],

'application' => [

  'debug' => false           // the debug mode state - enable while developing to get debug output

],

'debug' => [

  'enabled' => false         // the debug toolbar state - enable it to get information, about requests, memory usage etc

]
Răspunsul a fost util? 0 utilizatori au considerat informația utilă (0 Voturi)