0){ $libPath = _INDEX_LIB_HELPER; } $fileName = $className.".php"; if(is_file($libPath.$fileName)){ include_once($libPath.$fileName); }else{ if(defined("_INDEX_LIB_USER")){ $libPath = _INDEX_LIB_USER; }elseif(defined("_INDEX_LIB_MANAGE")){ $libPath = _INDEX_LIB_MANAGE; } if(is_file($libPath.$fileName)){ include_once($libPath.$fileName); } } }//END function */ //__autoloadが非推奨になった為、下記に変更 spl_autoload_register(function ($className) { //libフォルダ判定 $libPath = _INDEX_LIB_CORE; if(substr_count($className,"Helper") > 0){ $libPath = _INDEX_LIB_HELPER; } $fileName = $className.".php"; if(is_file($libPath.$fileName)){ include_once($libPath.$fileName); }else{ if(defined("_INDEX_LIB_USER")){ $libPath = _INDEX_LIB_USER; }elseif(defined("_INDEX_LIB_MANAGE")){ $libPath = _INDEX_LIB_MANAGE; } if(is_file($libPath.$fileName)){ include_once($libPath.$fileName); } } }); ?>
Fatal error: Uncaught Error: Class "classTextHelper" not found in /home/c1029692/public_html/ms-energy.co.jp/coating/contact/index.php:46 Stack trace: #0 {main} thrown in /home/c1029692/public_html/ms-energy.co.jp/coating/contact/index.php on line 46