Author Topic: [Hack] Show base directory on admin panel  (Read 2326 times)

0 Members and 1 Guest are viewing this topic.

Offline Benny Change

  • Addicted member
  • ******
  • Posts: 1.788
  • #WWG1WGA
    • View Profile
    • Qlobal-Change
[Hack] Show base directory on admin panel
« on: July 11, 2010, 10:36:55 PM »
Open / Öffne: admin/home.php
Search / Suche:
  show_table_footer();

  
$sql "SELECT SUM(cat_hits) AS sum
          FROM "
.CATEGORIES_TABLE;
  
$row $site_db->query_firstrow($sql);

Add above / Füge darüber ein
  echo '<tr class="tablerow"><td><b>Base Directory</b></td><td colspan="3">';
  print (
$_SERVER['DOCUMENT_ROOT']);
  echo 
'</td></tr>';
Beste Grüße
Benny