Jump to content


Photo

Doesnt notify the missing module


  • Please log in to reply
No replies to this topic

#1 borikenmedia

borikenmedia

    Young Padawan

  • Members
  • Pip
  • 30 posts

Posted 14 March 2011 - 10:06 PM

Init.php


<?php

 public function mode($path, $mod, $type){
  switch($mod){
   default:
    $ctrl = $path.$mod.$type;
    $hdl = is_file($ctrl)? $this->buffer($ctrl): $this->ping('Alert', 'Disabled mode'); //Doesnt return the ping value
    return $hdl;
   break;
  }
 }

?>

Mode.php



<?php

$motd = new obj();

$mod = $motd->mode($mod_path, $mod_name, $mod_type);
echot $mod;

?>


Found the fix being Linux hosted case sensitive.

Edited by borikenmedia, 15 March 2011 - 11:16 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users