Explorar o código

add comments/in-line docs

theshka %!s(int64=9) %!d(string=hai) anos
pai
achega
132399f305
Modificáronse 1 ficheiros con 12 adicións e 4 borrados
  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();