theshka 9 лет назад
Родитель
Сommit
132399f305
1 измененных файлов с 12 добавлено и 4 удалено
  1. 12 4
      index.php

+ 12 - 4
index.php

@@ -1,9 +1,17 @@
 <?php
+// load dependencies
 require_once(__DIR__ . '/vendor/autoload.php');
+
+// instance Pico
 $pico = new Pico(
-    __DIR__,
-    'config/',
-    'plugins/',
-    'themes/'
+    __DIR__,    // root dir
+    'config/',  // config dir
+    'plugins/', // plugins dir
+    'themes/'   // themes dir
 );
+
+// override configuration?
+// $pico->setConfig(array());
+
+// run application
 echo $pico->run();