|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
What have i to include into my own files, to load the complete vB4 Backgroud, so that i can use also the autoloader from vB4? I tried: PHP Code: error_reporting(E_ALL & ~E_NOTICE); // #################### DEFINE IMPORTANT CONSTANTS ####################### define('THIS_SCRIPT', 'mypage'); define('CSRF_PROTECTION', true); define('CONTENT_PAGE', false); // ################### PRE-CACHE TEMPLATES AND DATA ###################### // get special phrase groups $phrasegroups = array(); // get special data templates from the datastore $specialtemplates = array(); // pre-cache templates used by all actions $globaltemplates = array(); // pre-cache templates used by specific actions $actiontemplates = array(); // ######################### REQUIRE BACK-END ############################ require_once('./global.php'); $class = new vB_ragtek_class(); The class is placed in vb/ragtek/class.php but it can't be find. Then i tried PHP Code: require_once('./global.php'); require_once DIR . '/vb/exception.php'; require_once DIR . '/vb/exception/Reroute.php'; require_once DIR . '/vb/exception/accessdenied.php'; throw (new vB_Exception_AccessDenied()); and here i got Quote: Fatal error: Class 'vB_Phrase' not found in C:\Programme\Zend\Apache2\htdocs\vb42\vb\exception \accessdenied.php on line 38 I know that this would be something for vbulletin.org but i think that the vB developers could help me here earlier, because on vb.org you'll get maybe a answer wich helps you, but which isn't optimal or is a quick and dirty way.... thx __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
أدوات الموضوع | |
انواع عرض الموضوع | |
| |