Jump to content
Sign in to follow this  
Gold digger

PHP LIVE CHAT

Recommended Posts

Ja drusku pacīnās, var modificēt, lai iet bez koda, es tā domāju.

EDIT: Aiz garlaicības uzmetu aci koda. Viss, kas ir jāizdara, jānomaina verifyInstallation un verifyCodeToken return true un viss. 5min patestējot, it kā viss iet bez problēmām. Faila lokācija: /php/service/Verification.php Tālāk jāiet caur url /php/app.php?install-wizard un tiks noskipots verify steps.

Verification.php

<?php
class Verification extends Service { 
    private $config; 
    public function onRegister() { 
        parent::onRegister(); 
        $this->config = $this->get('config'); 
    } 
    
    public function verifyInstallation() { 
        return true; 
    } 
    
    public function verifyCodeToken($sp1cf959, $spa89a73) { 
        return true;
    } 
    
    public function updateInstallation($sp1cf959, $spa89a73) { 
        $this->config->updateParameters(array('services' => array('verify' => array('code' => $sp1cf959, 'token' => $spa89a73)))); } }

 

Edited by Kwaithex
  • Upvote 3

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.