+ الرد على الموضوع
النتائج 1 إلى 1 من 1

الموضوع: Rename config.php

  1. #1
    security Tm
    الصورة الرمزية i.s.s.w

    تاريخ التسجيل : 2006 Nov
    الدولة : rOoT i.s.s.w
    المشاركات : 1,414
    البرامج: 18 رفع: 10

    Rename config.php

    tested on 3.7 and 3.8 and 4.1


    1.Open includes/class_core.php and find


    كود PHP:
    include(CWD '/includes/config.php');
            if (
    sizeof($config) == 0)        {            if (file_exists(CWD'/includes/config.php'))            {                // config.php exists, but does not define $config                die('<br /><br /><strong>Configuration</strong>: includes/config.php exists, but is not in the 3.6+ format. Please convert your config file via the new config.php.new.');            }            else            {                die('<br /><br /><strong>Configuration</strong>: includes/config.php does not exist. Please fill out the data in config.php.new and rename it to config.php');            }        } 
    replace

    /includes/config.php

    to new name and path

    on

    كود PHP:
                include(CWD '/includes/config.php'); 
    and
    كود PHP:
                if (file_exists(CWD'/includes/config.php')) 

    ====
    example:



    كود PHP:
    include(CWD '/images/xxx.php');
            if (
    sizeof($config) == 0)        {            if (file_exists(CWD'/images/xxx.php'))            {                // config.php exists, but does not define $config                die('<br /><br /><strong>Configuration</strong>: includes/config.php exists, but is not in the 3.6+ format. Please convert your config file via the new config.php.new.');            }            else            {                die('<br /><br /><strong>Configuration</strong>: includes/config.php does not exist. Please fill out the data in config.php.new and rename it to config.php');            }        } 
    and save class_core.php


    i move config.php to vBulletin/images/xxx.php



    ========================

    We recommend that you do the following:

    1-Encryption includes/class_core.php
    2-use the false and misleading information in that old config.php

    Unexpected errors:
    • before upgrade vBulletin in Future Should return the default settings
    If you are using old mod vBulletin SEO

    1-open includes/config_vbseo.php

    find:
    كود PHP:
    define('VBSEO_VB_CONFIG''config.php'); 
    replace config with your new vBulletin config name.
    التعديل الأخير تم بواسطة i.s.s.w ; 2011-09-08 الساعة 07:03 PM
    لماذا؟ الفريق الأمني
    لأنه محط الثقة بين أعضاءه
    لكسب دعوة صادقة بظهر الغيب
    للدعاء لي ولك
    العالم تفخر بنا نحن أعضاء الفريق الأمني
    لذا يجب علينا أن نكسبهم ونكسب الأجر من مساندتهم ومساعدتهم
    للاشتراك في التنبيهات عن الثغرات والدورات في القروب من هنا


المواضيع المتشابهه

  1. How Can Rename AdminCP and ModCP For vBulletin
    بواسطة i.s.s.w في المنتدى Tips, Tricks , Howto's
    مشاركات: 0
    آخر مشاركة: 2011-06-30, 08:42 PM
  2. يعمــــــــ3.8ـــــ4.0ـل شرح تغيير مسار الـ config
    بواسطة SicK~SwaG في المنتدى حماية و تطوير المنتديات vBulletin
    مشاركات: 2
    آخر مشاركة: 2011-06-01, 11:25 PM
  3. شرح تغيير مسار ملف الـ config.php ..
    بواسطة ابو مجبل في المنتدى حماية و تطوير المنتديات vBulletin
    مشاركات: 3
    آخر مشاركة: 2010-07-04, 02:21 PM
  4. config.php تساؤل عن تغيير امتداده و مساره ؟؟
    بواسطة كريزي عازب في المنتدى قسم المشاكل والحلول
    مشاركات: 2
    آخر مشاركة: 2010-03-05, 02:40 AM
  5. بخصوص تغيير config.php و class_core.php
    بواسطة algeriamax في المنتدى حماية و تطوير المنتديات vBulletin
    مشاركات: 3
    آخر مشاركة: 2009-12-09, 06:58 PM

الكلمات الدلالية لهذا الموضوع

مواقع النشر (المفضلة)

مواقع النشر (المفضلة)

ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •