View Single Post
  #1  
Old 27th June 2009, 11:15
jdh428 jdh428 is offline
Member
 
Join Date: Jun 2009
P2P
Posts: 1
Angry admincp.php question
When trying to go to admincp.php I get a bunch of code and not the configuration page.. what do i need to fix? Thanx =]

e.g.:

PHP Code:
$x$a\n"); } function utime() { return (float) preg_replace('/^0?(\S+) (\S+)$/X', '$2$1', microtime()); } $pgs=utime(); stdhead('Admin Options'); // Templates // Options Type Templates // current format: // Key => array(Numeric,DisplayInput,ValidationRule,PPFilter) // where: // Key: is the Options Menu Type // Numeric: dictates if the code shud be enclosed in quotes, or shud be left as is (eval possibly) // DisplayInput: is the code for the Input box on the form // ValidationRule: is php code that $val is passed thru, must set $ok, 0=failed 1=success // PrePFilter: is php code that is applied before the the value is saved to the config // PstPFilter: is php code that is applied after retrieving it from the config // // may contain: // $key: FormName from Options Menu // $val: Value from either config.php or DefaultValue from Options Menu $templates=array( 'hidden' => array(0,'',NULL,NULL,NULL), 'string' => array(0,' 
Bump: short open tag was disabled grr =]
Reply With Quote