Jump to content

toodoo

Approved members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by toodoo

  1. I found the anwser finaly.

    function _getComponentGroupsFromDirectory($directory)
        {
            $aGroups = array();
            if (is_readable($directory))
            {
                if ($aFiles = scandir($directory))
                {
                    foreach ($aFiles as $i => $name)
                    {
                        if (substr($name, 0, 1) == '.')
                        {
                            continue;
                        }
                        if (is_dir($directory.$name))
                        {
                            $aGroups[] = $name;
                        }
                    }
                }
            }
            return $aGroups;
        }

     

    Because my server disabled the function "scandir" as default. Turn it on it is worked well.

  2. Thx Erik , yes, I installed ABP for safari and chrome. But I set "Disable the current web site" for my site. And I tried uninstall ABP there is still the same problem.

     

    added: I tried reinstall revive adserver with windows 10 not installed ABP. Still no drop down menu for the type of code.

×
×
  • Create New...