News:

Please note these forums are mostly a testing ground for my SMF work and I don't really use them otherwise.

Main Menu

Paste-1267996162:v:use_geshi-1:v:type-php

Started by SleePy, Mar 07, 2010, 09:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SleePy

$dir = '/home/svn/simpledesk/trunk/language-php/';
$files = scandir($dir);
$data = array();
foreach ($files as $temp)
{
   $txt = array(); $helptxt = array();
   include($dir . '/' . $temp);

   foreach ($txt as $key => $value)
      $data[$temp][$key] = $value;
}
No siggy! :D